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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 93.94 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 180.7 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005484, allocations: 12 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003655/0.1378, allocations: 2.202 MB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1392, allocations: 0.6988 MB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1394, allocations: 11.94 kB / 331.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1396, allocations: 31.77 kB / 331.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1398, allocations: 99.7 kB / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1402, allocations: 67.84 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.1406, allocations: 235.4 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.1408, allocations: 65.08 kB / 331.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.141, allocations: 115.6 kB / 331.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1412, allocations: 135.4 kB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.1413, allocations: 16 kB / 332 MB, free: 424 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.176e-05/0.1413, allocations: 12 kB / 332 MB, free: 412 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.1414, allocations: 47.81 kB / 332.1 MB, free: 364 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.1415, allocations: 77.52 kB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1418, allocations: 231.6 kB / 332.4 MB, free: 48 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1418, allocations: 0 / 332.4 MB, free: 48 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1418, allocations: 0 / 332.4 MB, free: 48 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1419, allocations: 0 / 332.4 MB, free: 48 kB / 270.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.001477/0.1433, allocations: 0.6145 MB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1434, allocations: 8.031 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.1435, allocations: 31.62 kB / 333 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1439, allocations: 278.3 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.144, allocations: 16.44 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.144, allocations: 20 kB / 333.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.1447, allocations: 259.2 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1447, allocations: 3.938 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1448, allocations: 8 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1448, allocations: 4 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007692/0.1456, allocations: 273.6 kB / 333.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1473, allocations: 0.9012 MB / 334.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.1482, allocations: 274.5 kB / 335 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.1483, allocations: 3.953 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/0.1489, allocations: 193.9 kB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/0.1489, allocations: 0 / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002731/0.1516, allocations: 0.7488 MB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.1517, allocations: 102.8 kB / 336.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.1521, allocations: 274.6 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.1521, allocations: 29.7 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1522, allocations: 179.9 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.1523, allocations: 39.39 kB / 336.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.1523, allocations: 4 kB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1525, allocations: 342.8 kB / 336.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1528, allocations: 107.9 kB / 337 MB, free: 11.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.1532, allocations: 189.3 kB / 337.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1536, allocations: 153.9 kB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.1536, allocations: 0 / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001289/0.1549, allocations: 490.7 kB / 337.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004427/0.1554, allocations: 0.819 MB / 338.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1554, allocations: 7.938 kB / 338.7 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.1559, allocations: 84.8 kB / 338.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1561, allocations: 47.91 kB / 338.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.1592, allocations: 1.893 MB / 340.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.1596, allocations: 63.77 kB / 340.7 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1596, allocations: 12 kB / 340.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.1596, allocations: 4 kB / 340.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007187/0.1603, allocations: 310.4 kB / 341.1 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1604, allocations: 4 kB / 341.1 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.136e-05/0.1604, allocations: 24.84 kB / 341.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1606, allocations: 47.91 kB / 341.1 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009387/0.1616, allocations: 1.323 MB / 342.5 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.1619, allocations: 43.88 kB / 342.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1619, allocations: 12 kB / 342.5 MB, free: 5.184 MB / 286.1 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.1621, allocations: 213 kB / 342.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1622, allocations: 23.72 kB / 342.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.1622, allocations: 25.83 kB / 342.8 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1622, allocations: 11.95 kB / 342.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1622, allocations: 0 / 342.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1622, allocations: 0 / 342.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.1626, allocations: 301.5 kB / 343.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1626, allocations: 0 / 343.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1627, allocations: 27.97 kB / 343.1 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.163, allocations: 76.8 kB / 343.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.163, allocations: 8 kB / 343.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.1655, allocations: 1.788 MB / 345 MB, free: 2.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1655, allocations: 0 / 345 MB, free: 2.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1666, allocations: 401.5 kB / 345.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.1667, allocations: 96.83 kB / 345.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1667, allocations: 7.984 kB / 345.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.167, allocations: 39.97 kB / 345.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.1671, allocations: 23.91 kB / 345.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1671, allocations: 8.125 kB / 345.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.1673, allocations: 190 kB / 345.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1673, allocations: 3.938 kB / 345.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006059/0.1679, allocations: 131.7 kB / 345.9 MB, free: 1.605 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.1681, allocations: 95.25 kB / 346 MB, free: 1.504 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.1698, allocations: 0.8044 MB / 346.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1698, allocations: 256 / 346.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.1703, allocations: 254.5 kB / 347 MB, free: 400 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1706, allocations: 48.45 kB / 347.1 MB, free: 352 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.1737, allocations: 1.053 MB / 348.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.174, allocations: 0.7482 MB / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1742, allocations: 30.28 kB / 348.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.1743, allocations: 23.44 kB / 348.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1743, allocations: 0 / 348.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Templates: time 0.008163/0.1824, allocations: 3.642 MB / 352.5 MB, free: 10.8 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches