Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002501/0.002501, allocations: 190.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 47.92 kB / 370.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3389, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00463/0.3435, allocations: 2.597 MB / 425.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3449, allocations: 0.6466 MB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.345, allocations: 4 kB / 426.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.3452, allocations: 47.56 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3454, allocations: 95.19 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.3457, allocations: 99.81 kB / 426.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.3461, allocations: 350.6 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3463, allocations: 64.69 kB / 427 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3465, allocations: 131.5 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3467, allocations: 135.3 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.3468, allocations: 28 kB / 427.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.3468, allocations: 28 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.3469, allocations: 67.7 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3471, allocations: 131.4 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.3474, allocations: 325.2 kB / 427.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3475, allocations: 0 / 427.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3475, allocations: 0 / 427.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3475, allocations: 0 / 427.8 MB, free: 9.723 MB / 334.1 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.001327/0.3488, allocations: 0.5741 MB / 428.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3488, allocations: 8.031 kB / 428.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.3489, allocations: 32.75 kB / 428.4 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3494, allocations: 222 kB / 428.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3494, allocations: 16.81 kB / 428.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.3494, allocations: 24.31 kB / 428.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.3501, allocations: 333.4 kB / 429 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3501, allocations: 0 / 429 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.3502, allocations: 8 kB / 429 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3502, allocations: 8 kB / 429 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.3509, allocations: 245.6 kB / 429.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3525, allocations: 0.801 MB / 430.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.3534, allocations: 234.5 kB / 430.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.3537, allocations: 92.78 kB / 430.4 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3538, allocations: 4 kB / 430.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005309/0.3543, allocations: 229.2 kB / 430.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3543, allocations: 0 / 430.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00235/0.3566, allocations: 0.5859 MB / 431.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.3567, allocations: 106.8 kB / 431.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.357, allocations: 268.9 kB / 431.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.3571, allocations: 29.7 kB / 431.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3572, allocations: 188.1 kB / 431.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.3573, allocations: 35.69 kB / 431.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.3574, allocations: 49.66 kB / 431.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3575, allocations: 342.8 kB / 432.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.3579, allocations: 121.6 kB / 432.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.3584, allocations: 263.3 kB / 432.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.3591, allocations: 292.2 kB / 432.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3591, allocations: 0 / 432.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001272/0.3604, allocations: 480.5 kB / 433.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.3604, allocations: 37.64 kB / 433.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3604, allocations: 4 kB / 433.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.3608, allocations: 80.86 kB / 433.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.361, allocations: 43.95 kB / 433.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.3642, allocations: 1.864 MB / 435.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3645, allocations: 55.8 kB / 435.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.3646, allocations: 12 kB / 435.4 MB, free: 1.633 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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 0.0001755/0.3647, allocations: 139.3 kB / 435.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3648, allocations: 23.86 kB / 435.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.3648, allocations: 25.77 kB / 435.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3648, allocations: 4 kB / 435.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3648, allocations: 8.062 kB / 435.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3648, allocations: 0 / 435.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3651, allocations: 197.2 kB / 435.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3651, allocations: 0 / 435.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.3652, allocations: 27.97 kB / 435.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/0.3655, allocations: 72.8 kB / 435.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3655, allocations: 3.938 kB / 435.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.3681, allocations: 1.789 MB / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3681, allocations: 0 / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3692, allocations: 361.6 kB / 438.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.3692, allocations: 27.83 kB / 438.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.3693, allocations: 7.875 kB / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.3695, allocations: 36.09 kB / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.3696, allocations: 19.97 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3696, allocations: 7.984 kB / 438.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.3698, allocations: 184.5 kB / 438.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3698, allocations: 4 kB / 438.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.3703, allocations: 67.89 kB / 438.4 MB, free: 14.49 MB / 350.1 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 0.0001555/0.3705, allocations: 107.2 kB / 438.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.3719, allocations: 0.4919 MB / 439 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3719, allocations: 0 / 439 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.3724, allocations: 226.3 kB / 439.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3728, allocations: 48.66 kB / 439.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.3761, allocations: 0.8944 MB / 440.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3763, allocations: 138.2 kB / 440.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3764, allocations: 22.28 kB / 440.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.3765, allocations: 23.38 kB / 440.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3765, allocations: 0 / 440.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.009984/0.3865, allocations: 4.083 MB / 444.4 MB, free: 8.422 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.069628864526749]