Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001353/0.001353, allocations: 72.06 kB / 21.24 MB, free: 0.5391 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.001437/0.001437, allocations: 150.5 kB / 24.48 MB, free: 3.715 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.418/1.418, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.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.SchmittTrigger,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.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 47.48 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 52.17 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005991/0.1326, allocations: 2.588 MB / 374.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1345, allocations: 0.6544 MB / 374.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.1347, allocations: 4 kB / 374.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1349, allocations: 39.58 kB / 374.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.1352, allocations: 95.19 kB / 375 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.1356, allocations: 99.83 kB / 375.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.1362, allocations: 358.5 kB / 375.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1364, allocations: 60.86 kB / 375.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.1367, allocations: 139.5 kB / 375.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.137, allocations: 131.3 kB / 375.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.1371, allocations: 32 kB / 375.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.1372, allocations: 28 kB / 375.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1373, allocations: 59.77 kB / 375.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.1375, allocations: 119.5 kB / 376 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.1381, allocations: 338.6 kB / 376.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1381, allocations: 0 / 376.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1381, allocations: 0 / 376.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.1381, allocations: 4 kB / 376.3 MB, free: 2.574 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.001788/0.1399, allocations: 0.5625 MB / 376.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1399, allocations: 12.92 kB / 376.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.14, allocations: 32.75 kB / 376.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.1406, allocations: 218 kB / 377.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.1406, allocations: 16.88 kB / 377.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.1407, allocations: 20.36 kB / 377.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1417, allocations: 334.3 kB / 377.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1417, allocations: 4 kB / 377.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.1418, allocations: 15.98 kB / 377.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1418, allocations: 4 kB / 377.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1429, allocations: 241.8 kB / 377.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.1452, allocations: 0.8058 MB / 378.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.1465, allocations: 230.5 kB / 378.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.147, allocations: 96.78 kB / 378.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.147, allocations: 3.984 kB / 378.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.1476, allocations: 233.2 kB / 379.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1476, allocations: 0 / 379.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00239/0.15, allocations: 0.576 MB / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.1501, allocations: 114.8 kB / 379.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1504, allocations: 257.8 kB / 380.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1504, allocations: 25.7 kB / 380.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1506, allocations: 180.2 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1506, allocations: 47.61 kB / 380.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.1507, allocations: 49.66 kB / 380.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1509, allocations: 334.8 kB / 380.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.1513, allocations: 129.6 kB / 380.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.1517, allocations: 241.6 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.1525, allocations: 271.2 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1525, allocations: 4 kB / 381.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001279/0.1538, allocations: 449.5 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.1538, allocations: 41.84 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1538, allocations: 0 / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.1542, allocations: 88.73 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1544, allocations: 35.97 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.1572, allocations: 1.813 MB / 383.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1576, allocations: 47.81 kB / 383.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.1576, allocations: 20.17 kB / 383.8 MB, free: 10.62 MB / 350.1 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.0001594/0.1577, allocations: 133.8 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.1578, allocations: 23.86 kB / 383.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.1578, allocations: 29.77 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1578, allocations: 4 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1579, allocations: 3.938 kB / 384 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1579, allocations: 0 / 384 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1581, allocations: 201.2 kB / 384.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1581, allocations: 0 / 384.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1582, allocations: 19.98 kB / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.1585, allocations: 80.73 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1585, allocations: 3.984 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.1609, allocations: 1.624 MB / 385.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1609, allocations: 3.938 kB / 385.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1621, allocations: 349.7 kB / 386.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1621, allocations: 35.77 kB / 386.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.1622, allocations: 8 kB / 386.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1624, allocations: 27.95 kB / 386.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.1625, allocations: 19.97 kB / 386.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1625, allocations: 11.94 kB / 386.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1627, allocations: 177.2 kB / 386.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1627, allocations: 0 / 386.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1632, allocations: 75.89 kB / 386.6 MB, free: 7.648 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.0001509/0.1633, allocations: 107.2 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1644, allocations: 431.6 kB / 387.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1644, allocations: 0 / 387.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.1649, allocations: 230.4 kB / 387.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1652, allocations: 44.44 kB / 387.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1662, allocations: 455.6 kB / 387.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.1664, allocations: 138.2 kB / 388 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.1665, allocations: 21.94 kB / 388 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.1665, allocations: 24.5 kB / 388 MB, free: 6.133 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1665, allocations: 0 / 388 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Templates: time 0.008707/0.1752, allocations: 3.818 MB / 391.8 MB, free: 2.367 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.402835178072564]