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.0008787/0.0008787, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008689/0.0008689, allocations: 157.5 kB / 25.45 MB, free: 9.352 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.8538/0.8538, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.443e-06/1.443e-06, allocations: 0 / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.051e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002464/0.002485, allocations: 2.552 MB / 302.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.003346, allocations: 0.6942 MB / 303 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003456, allocations: 4 kB / 303 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003569, allocations: 47.5 kB / 303 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.0037, allocations: 95.2 kB / 303.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.003922, allocations: 99.73 kB / 303.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.0042, allocations: 370.3 kB / 303.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.004343, allocations: 56.89 kB / 303.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.004507, allocations: 199.5 kB / 303.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.004623, allocations: 111.7 kB / 303.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.00466, allocations: 28 kB / 304 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.83e-05/0.004688, allocations: 32 kB / 304 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.004735, allocations: 63.69 kB / 304.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.005073, allocations: 107.7 kB / 304.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.005337, allocations: 334.9 kB / 304.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005339, allocations: 0 / 304.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00534, allocations: 0 / 304.5 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005345, allocations: 0 / 304.5 MB, free: 2.098 MB / 282.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.000793/0.006138, allocations: 0.5819 MB / 305.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.006174, allocations: 11.98 kB / 305.1 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.006227, allocations: 40.75 kB / 305.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.006474, allocations: 213.2 kB / 305.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.00649, allocations: 16.88 kB / 305.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.006513, allocations: 20.38 kB / 305.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.006873, allocations: 296 kB / 305.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006882, allocations: 4.188 kB / 305.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.006901, allocations: 8.375 kB / 305.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.00691, allocations: 11.94 kB / 305.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.00728, allocations: 245.8 kB / 305.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.008152, allocations: 0.7354 MB / 306.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.008584, allocations: 226.6 kB / 306.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.008738, allocations: 96.78 kB / 307 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.008756, allocations: 4 kB / 307 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.009021, allocations: 233.2 kB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.009022, allocations: 0 / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001163/0.01018, allocations: 0.6033 MB / 307.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.01024, allocations: 106.8 kB / 307.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.0104, allocations: 257.8 kB / 308.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.01042, allocations: 33.7 kB / 308.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.0105, allocations: 180.1 kB / 308.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.01052, allocations: 39.7 kB / 308.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.01058, allocations: 45.66 kB / 308.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.01065, allocations: 334.8 kB / 308.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.01084, allocations: 142.3 kB / 308.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.01105, allocations: 258.3 kB / 309.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.01139, allocations: 280.1 kB / 309.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0114, allocations: 0 / 309.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006161/0.01201, allocations: 481.4 kB / 309.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.01204, allocations: 37.7 kB / 310 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01205, allocations: 4 kB / 310 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.01227, allocations: 76.95 kB / 310 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.01237, allocations: 51.92 kB / 310.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.01401, allocations: 1.867 MB / 312 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.01415, allocations: 47.8 kB / 312 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01417, allocations: 20.12 kB / 312 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001831/0.01435, allocations: 209.7 kB / 312.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001706/0.01452, allocations: 234.4 kB / 312.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002607/0.01478, allocations: 257.2 kB / 312.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.01479, allocations: 0 / 312.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003815/0.01517, allocations: 360 kB / 313.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01518, allocations: 29.7 kB / 313.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.01519, allocations: 4 kB / 313.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.357e-05/0.01524, allocations: 24.84 kB / 313.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.01533, allocations: 52.16 kB / 313.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/0.01586, allocations: 1.28 MB / 314.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01599, allocations: 43.89 kB / 314.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.016, allocations: 11.98 kB / 314.5 MB, free: 7.391 MB / 298.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.552e-05/0.01609, allocations: 208.3 kB / 314.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.01611, allocations: 19.86 kB / 314.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.01614, allocations: 25.77 kB / 314.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.01614, allocations: 0 / 314.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.01614, allocations: 0 / 314.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01614, allocations: 0 / 314.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01627, allocations: 205.2 kB / 314.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01627, allocations: 3.938 kB / 315 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.01632, allocations: 19.98 kB / 315 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.01646, allocations: 76.8 kB / 315 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.01647, allocations: 4 kB / 315.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.01762, allocations: 1.789 MB / 316.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01763, allocations: 0 / 316.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.01812, allocations: 362.1 kB / 317.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.01814, allocations: 23.8 kB / 317.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.01816, allocations: 8 kB / 317.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01826, allocations: 31.95 kB / 317.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.01831, allocations: 27.91 kB / 317.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01832, allocations: 3.938 kB / 317.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01843, allocations: 189.2 kB / 317.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01843, allocations: 0 / 317.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.01874, allocations: 123.8 kB / 317.6 MB, free: 4.133 MB / 298.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 8.624e-05/0.01882, allocations: 103.2 kB / 317.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.02011, allocations: 0.7926 MB / 318.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02011, allocations: 0 / 318.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.02033, allocations: 226.5 kB / 318.7 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.02053, allocations: 56.75 kB / 318.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.02199, allocations: 0.9105 MB / 319.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.626e-05/0.02206, allocations: 138.5 kB / 319.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.02211, allocations: 28.44 kB / 319.8 MB, free: 1.75 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.02211, allocations: 0 / 319.8 MB, free: 1.75 MB / 298.7 MB Notification: Performance of Templates: time 0.003872/0.02599, allocations: 4.256 MB / 324.1 MB, free: 13.49 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.40502402652055]