Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 94.86 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001454, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003297, allocations: 8 kB / 307.7 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 51.53 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003854/0.1492, allocations: 2.481 MB / 361.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1512, allocations: 0.674 MB / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1514, allocations: 4 kB / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1516, allocations: 31.75 kB / 362.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1519, allocations: 83.38 kB / 362.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1522, allocations: 75.86 kB / 362.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.1528, allocations: 354.5 kB / 363 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.1531, allocations: 103.6 kB / 363.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1533, allocations: 123.5 kB / 363.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1536, allocations: 139.4 kB / 363.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1536, allocations: 19.94 kB / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.1537, allocations: 20 kB / 363.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.1538, allocations: 59.73 kB / 363.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.154, allocations: 172.9 kB / 363.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.1545, allocations: 346.9 kB / 363.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.1546, allocations: 4 kB / 363.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1546, allocations: 0 / 363.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1546, allocations: 0 / 363.9 MB, free: 8.578 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00167/0.1563, allocations: 0.6171 MB / 364.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.644e-05/0.1564, allocations: 11.97 kB / 364.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1565, allocations: 36.56 kB / 364.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.1571, allocations: 280.5 kB / 364.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.1571, allocations: 20.88 kB / 364.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1572, allocations: 24.38 kB / 364.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.1581, allocations: 323.7 kB / 365.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1581, allocations: 0 / 365.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.1582, allocations: 8 kB / 365.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1582, allocations: 8 kB / 365.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.1591, allocations: 273.5 kB / 365.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.1613, allocations: 1.105 MB / 366.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009034/0.1622, allocations: 238.5 kB / 366.8 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.1626, allocations: 108.8 kB / 367 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.1627, allocations: 0 / 367 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006567/0.1633, allocations: 193.7 kB / 367.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.1634, allocations: 0 / 367.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002442/0.1658, allocations: 0.5418 MB / 367.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.1659, allocations: 110.8 kB / 367.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.1663, allocations: 286.6 kB / 368.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1663, allocations: 33.7 kB / 368.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.1665, allocations: 195.5 kB / 368.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.1666, allocations: 43.39 kB / 368.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.1666, allocations: 29.7 kB / 368.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1668, allocations: 330.8 kB / 368.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.1672, allocations: 108.2 kB / 368.8 MB, free: 3.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.1677, allocations: 222.1 kB / 369 MB, free: 3.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.1686, allocations: 325.5 kB / 369.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1686, allocations: 3.938 kB / 369.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001348/0.1699, allocations: 454 kB / 369.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/0.17, allocations: 33.7 kB / 369.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.17, allocations: 0 / 369.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.1705, allocations: 84.83 kB / 369.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1707, allocations: 47.91 kB / 369.9 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.1733, allocations: 1.594 MB / 371.5 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.1737, allocations: 59.66 kB / 371.6 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1737, allocations: 8 kB / 371.6 MB, free: 328 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.1739, allocations: 149.7 kB / 371.7 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.174, allocations: 27.66 kB / 371.8 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.296e-05/0.1741, allocations: 29.7 kB / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1741, allocations: 0 / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1741, allocations: 0 / 371.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1741, allocations: 3.984 kB / 371.8 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2462/0.4203, allocations: 291.4 kB / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.4203, allocations: 0 / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.4205, allocations: 25.22 kB / 372.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.4208, allocations: 71.59 kB / 372.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4208, allocations: 4.891 kB / 372.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.4227, allocations: 1.582 MB / 373.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4227, allocations: 4.859 kB / 373.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4237, allocations: 337.7 kB / 374.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.4238, allocations: 114.6 kB / 374.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.4238, allocations: 5.719 kB / 374.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.4241, allocations: 42.78 kB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.4242, allocations: 20.89 kB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4242, allocations: 3.438 kB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.4244, allocations: 206.3 kB / 374.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4244, allocations: 0.7188 kB / 374.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.4248, allocations: 77.25 kB / 374.6 MB, free: 17.76 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/0.4249, allocations: 100.4 kB / 374.7 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000956/0.4259, allocations: 442.9 kB / 375.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4259, allocations: 3.812 kB / 375.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.4264, allocations: 234.2 kB / 375.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4267, allocations: 38.61 kB / 375.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.4277, allocations: 0.5688 MB / 375.9 MB, free: 17.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4279, allocations: 0.7503 MB / 376.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.428, allocations: 29.61 kB / 376.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.4281, allocations: 18.58 kB / 376.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4281, allocations: 0 / 376.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of Templates: time 0.008583/0.4367, allocations: 3.756 MB / 380.5 MB, free: 16.17 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches