Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001647/0.001647, allocations: 83.58 kB / 21.18 MB, free: 3.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.001998/0.001998, allocations: 161.4 kB / 24.56 MB, free: 12 kB / 18.57 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.531e-05, allocations: 2.312 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005518/0.005553, allocations: 2.783 MB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.007648, allocations: 0.6971 MB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.007842, allocations: 4 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.00802, allocations: 47.56 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.008235, allocations: 99.19 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.008595, allocations: 103.7 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.009107, allocations: 362.4 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.009345, allocations: 56.89 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.009769, allocations: 195.5 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.01001, allocations: 111.7 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.01008, allocations: 28 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.01014, allocations: 32 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.01022, allocations: 67.69 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.01037, allocations: 103.8 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.01081, allocations: 219.1 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.01081, allocations: 4 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.01082, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.01082, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.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.001269/0.01209, allocations: 0.6546 MB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.01215, allocations: 8.031 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.01228, allocations: 48.75 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.01271, allocations: 220 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.01274, allocations: 20.81 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.01279, allocations: 20.38 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.01334, allocations: 285 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.01336, allocations: 192 / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.01338, allocations: 8.375 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.0134, allocations: 11.92 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.01364, allocations: 86.95 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.01564, allocations: 0.8741 MB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.01603, allocations: 115.2 kB / 280.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01613, allocations: 35.67 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.01618, allocations: 0 / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.01651, allocations: 187.4 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.01651, allocations: 8 kB / 280.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001173/0.01768, allocations: 312.5 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.01776, allocations: 102.8 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.01805, allocations: 300.2 kB / 281.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.01809, allocations: 33.7 kB / 281.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.01824, allocations: 226.9 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.01828, allocations: 39.64 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.01838, allocations: 51.36 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.01857, allocations: 0.5001 MB / 282 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.0187, allocations: 57.69 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.01889, allocations: 206.7 kB / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.01913, allocations: 169.3 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.01913, allocations: 8.219 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006195/0.01975, allocations: 296.4 kB / 282.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.01981, allocations: 37.64 kB / 282.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.01982, allocations: 4 kB / 282.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.02031, allocations: 79.62 kB / 282.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.02046, allocations: 35.92 kB / 282.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.0226, allocations: 2.137 MB / 285 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.02285, allocations: 35.88 kB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.02288, allocations: 15.94 kB / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001758/0.02305, allocations: 175.9 kB / 285.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.0231, allocations: 23.86 kB / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.02314, allocations: 25.89 kB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.02315, allocations: 4.031 kB / 285.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.02315, allocations: 8 kB / 285.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02316, allocations: 0 / 285.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.0234, allocations: 216.4 kB / 285.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.0234, allocations: 0 / 285.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.02348, allocations: 15.98 kB / 285.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.02377, allocations: 67.64 kB / 285.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.02379, allocations: 4 kB / 285.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.02562, allocations: 1.885 MB / 287.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02562, allocations: 0 / 287.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.02603, allocations: 207.8 kB / 287.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.02608, allocations: 31.78 kB / 287.7 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.02611, allocations: 8 kB / 287.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.02625, allocations: 20.02 kB / 287.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.02634, allocations: 23.95 kB / 287.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.02635, allocations: 0 / 287.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.02652, allocations: 209.1 kB / 288 MB, free: 1.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02652, allocations: 0 / 288 MB, free: 1.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000445/0.02697, allocations: 71.89 kB / 288 MB, free: 1.672 MB / 266.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 0.000156/0.02713, allocations: 107.2 kB / 288.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.02767, allocations: 372.8 kB / 288.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.02767, allocations: 0 / 288.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.0279, allocations: 241.3 kB / 288.8 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.02822, allocations: 40.42 kB / 288.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.02951, allocations: 426.2 kB / 289.2 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.02958, allocations: 80.31 kB / 289.3 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.021e-05/0.02967, allocations: 21.89 kB / 289.3 MB, free: 308 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.02974, allocations: 20.5 kB / 289.3 MB, free: 288 kB / 266.7 MB Notification: Performance of SimCode: time 1.283e-06/0.02974, allocations: 0 / 289.3 MB, free: 288 kB / 266.7 MB Notification: Performance of Templates: time 0.009801/0.03954, allocations: 3.906 MB / 293.2 MB, free: 12.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.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: 3.2466440382413566]