Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 168.7 kB / 25.7 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9503/0.9503, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.387e-05, allocations: 6.312 kB / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002753/0.002767, allocations: 2.747 MB / 254.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.003763, allocations: 0.7213 MB / 255.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.003876, allocations: 7.938 kB / 255.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.003994, allocations: 39.64 kB / 255.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.004143, allocations: 103.1 kB / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.00437, allocations: 99.75 kB / 255.3 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.004672, allocations: 378.2 kB / 255.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.004823, allocations: 54.88 kB / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.005004, allocations: 195.5 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.00513, allocations: 123.6 kB / 256.1 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.005166, allocations: 28 kB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.005195, allocations: 28 kB / 256.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.005239, allocations: 63.75 kB / 256.2 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.005316, allocations: 107.7 kB / 256.3 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.005526, allocations: 219.1 kB / 256.5 MB, free: 2.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.005528, allocations: 8 kB / 256.5 MB, free: 2.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005528, allocations: 0 / 256.5 MB, free: 2.254 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.005532, allocations: 0 / 256.5 MB, free: 2.254 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005902/0.006122, allocations: 0.522 MB / 257 MB, free: 1.703 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.006149, allocations: 15.98 kB / 257 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.0062, allocations: 36.91 kB / 257.1 MB, free: 1.652 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.006392, allocations: 181.3 kB / 257.3 MB, free: 1.445 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006405, allocations: 16.88 kB / 257.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.006428, allocations: 24.38 kB / 257.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.00667, allocations: 228.7 kB / 257.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006678, allocations: 192 / 257.5 MB, free: 1.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.006693, allocations: 8.375 kB / 257.5 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.0067, allocations: 11.94 kB / 257.5 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.006782, allocations: 55.47 kB / 257.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.007446, allocations: 0.5892 MB / 258.2 MB, free: 464 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.007602, allocations: 98.39 kB / 258.3 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.00764, allocations: 24.86 kB / 258.3 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.007655, allocations: 4 kB / 258.3 MB, free: 324 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.007791, allocations: 165.2 kB / 258.5 MB, free: 124 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.007793, allocations: 4 kB / 258.5 MB, free: 120 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006497/0.008442, allocations: 278.2 kB / 258.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.008487, allocations: 106.8 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.008625, allocations: 237 kB / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.008642, allocations: 29.7 kB / 259.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.008708, allocations: 164.2 kB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.008732, allocations: 51.61 kB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.008786, allocations: 49.64 kB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.008866, allocations: 330.8 kB / 259.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.008915, allocations: 54.55 kB / 259.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.009004, allocations: 178.5 kB / 259.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.009114, allocations: 149.3 kB / 260.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.009118, allocations: 7.938 kB / 260.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002617/0.00938, allocations: 253.7 kB / 260.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.009402, allocations: 29.7 kB / 260.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009407, allocations: 4 kB / 260.3 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.00964, allocations: 76.81 kB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.00973, allocations: 47.86 kB / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.01074, allocations: 1.477 MB / 261.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.01086, allocations: 35.88 kB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01087, allocations: 8 kB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.726e-05/0.01096, allocations: 133.8 kB / 262.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.843e-05/0.01105, allocations: 186.6 kB / 262.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.85e-05/0.01114, allocations: 148.5 kB / 262.4 MB, free: 11.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.01115, allocations: 7.875 kB / 262.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001698/0.01132, allocations: 209.7 kB / 262.7 MB, free: 11.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01133, allocations: 29.7 kB / 262.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.01133, allocations: 4 kB / 262.7 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.189e-05/0.01142, allocations: 33.08 kB / 262.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.0115, allocations: 51.91 kB / 262.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/0.01198, allocations: 1.194 MB / 264 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01209, allocations: 35.88 kB / 264 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.0121, allocations: 4 kB / 264 MB, free: 10.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/0.01218, allocations: 200.2 kB / 264.2 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.0122, allocations: 19.98 kB / 264.2 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.01223, allocations: 25.7 kB / 264.3 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01223, allocations: 4 kB / 264.3 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01223, allocations: 0 / 264.3 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01223, allocations: 0 / 264.3 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.01234, allocations: 141.7 kB / 264.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01234, allocations: 0 / 264.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.01238, allocations: 15.98 kB / 264.4 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.01254, allocations: 64.81 kB / 264.5 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01254, allocations: 4 kB / 264.5 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007233/0.01327, allocations: 1.442 MB / 265.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01327, allocations: 0 / 265.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.01345, allocations: 169.7 kB / 266.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.01348, allocations: 27.78 kB / 266.1 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.0135, allocations: 4.047 kB / 266.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.01357, allocations: 27.91 kB / 266.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.01362, allocations: 15.97 kB / 266.2 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.01363, allocations: 3.984 kB / 266.2 MB, free: 7.797 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.01369, allocations: 78.78 kB / 266.2 MB, free: 7.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01369, allocations: 8 kB / 266.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.01398, allocations: 127.8 kB / 266.4 MB, free: 7.586 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.745e-05/0.01406, allocations: 72.42 kB / 266.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005081/0.01457, allocations: 0.5975 MB / 267 MB, free: 6.848 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01457, allocations: 4 kB / 267 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01469, allocations: 167.3 kB / 267.2 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.01484, allocations: 45.16 kB / 267.2 MB, free: 6.621 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.016, allocations: 0.6613 MB / 267.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.01604, allocations: 80.62 kB / 268 MB, free: 5.836 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.828e-05/0.01612, allocations: 25.94 kB / 268 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.01624, allocations: 99.33 kB / 268.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01624, allocations: 0 / 268.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of Templates: time 0.005997/0.02223, allocations: 4.413 MB / 272.5 MB, free: 1.336 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7335534621961415]