Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001333/0.001333, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001591/0.001591, allocations: 171.9 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.052e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004478/0.004509, allocations: 2.613 MB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.006067, allocations: 0.6855 MB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.006218, allocations: 7.625 kB / 328.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.006381, allocations: 39.7 kB / 328.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.006611, allocations: 101.9 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.006934, allocations: 96.64 kB / 328.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.007453, allocations: 365.7 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.00769, allocations: 58.25 kB / 329.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.007997, allocations: 200 kB / 329.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.008213, allocations: 112.3 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.008278, allocations: 30.22 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.008341, allocations: 29.5 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.008434, allocations: 66.08 kB / 329.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.008644, allocations: 102.4 kB / 329.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.009126, allocations: 333.9 kB / 329.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.00913, allocations: 0 / 329.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009132, allocations: 0 / 329.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.009143, allocations: 1.094 kB / 329.9 MB, free: 13.54 MB / 302.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.00135/0.01049, allocations: 0.5713 MB / 330.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.01053, allocations: 14.16 kB / 330.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.01061, allocations: 30.81 kB / 330.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.01098, allocations: 228.3 kB / 330.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.01101, allocations: 17.62 kB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.01106, allocations: 18.44 kB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.01177, allocations: 325.4 kB / 331.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.01178, allocations: 192 / 331.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.01182, allocations: 18.59 kB / 331.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01183, allocations: 8.562 kB / 331.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.0126, allocations: 250 kB / 331.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.01428, allocations: 0.8071 MB / 332.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/0.01522, allocations: 234 kB / 332.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.01557, allocations: 95 kB / 332.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.0156, allocations: 5.062 kB / 332.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.01615, allocations: 231.7 kB / 332.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.01615, allocations: 0 / 332.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002487/0.01864, allocations: 0.5715 MB / 333.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.01872, allocations: 112.3 kB / 333.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.01904, allocations: 262.4 kB / 333.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.01908, allocations: 32.3 kB / 333.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.01923, allocations: 183.5 kB / 333.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.01929, allocations: 44.39 kB / 333.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01939, allocations: 46.55 kB / 334 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.01957, allocations: 328.1 kB / 334.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.01996, allocations: 137.1 kB / 334.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.02045, allocations: 260.9 kB / 334.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.02122, allocations: 295.2 kB / 335 MB, free: 9.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02123, allocations: 5.594 kB / 335 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001362/0.02259, allocations: 464.6 kB / 335.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.02263, allocations: 32.27 kB / 335.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.02264, allocations: 6.938 kB / 335.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.02304, allocations: 82.23 kB / 335.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.02325, allocations: 41.97 kB / 335.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.02638, allocations: 1.868 MB / 337.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.02672, allocations: 49.5 kB / 337.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.02674, allocations: 11.09 kB / 337.5 MB, free: 7.719 MB / 302.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.0001693/0.02691, allocations: 139.3 kB / 337.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.02702, allocations: 31.5 kB / 337.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.02707, allocations: 27.25 kB / 337.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.02707, allocations: 1.188 kB / 337.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.02707, allocations: 0 / 337.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02708, allocations: 1.188 kB / 337.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.02732, allocations: 207.2 kB / 337.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.02732, allocations: 1.094 kB / 337.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.02747, allocations: 26.53 kB / 338 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.02776, allocations: 78.83 kB / 338 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.02777, allocations: 5.25 kB / 338 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.03035, allocations: 1.783 MB / 339.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03035, allocations: 0 / 339.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.03151, allocations: 360.6 kB / 340.2 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.03156, allocations: 23.84 kB / 340.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.03159, allocations: 4 kB / 340.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.03185, allocations: 31.97 kB / 340.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.03193, allocations: 27.89 kB / 340.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.03195, allocations: 4 kB / 340.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.03216, allocations: 181.2 kB / 340.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03216, allocations: 0 / 340.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004255/0.03259, allocations: 75.89 kB / 340.5 MB, free: 5.059 MB / 302.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.0001716/0.03276, allocations: 99.25 kB / 340.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.03421, allocations: 0.5105 MB / 341.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03421, allocations: 0 / 341.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.03474, allocations: 230.2 kB / 341.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.03508, allocations: 47.83 kB / 341.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.03835, allocations: 0.8814 MB / 342.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.0385, allocations: 134.2 kB / 342.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.0386, allocations: 26.28 kB / 342.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.03867, allocations: 20.5 kB / 342.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.03867, allocations: 0 / 342.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of Templates: time 0.008774/0.04744, allocations: 3.837 MB / 346.3 MB, free: 15.24 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.506726421415806]