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.0013/0.001299, allocations: 96.47 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 195.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 8 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 51.52 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003772/0.1492, allocations: 2.381 MB / 361 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.151, allocations: 0.6547 MB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.1514, allocations: 4 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.1516, allocations: 31.77 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.152, allocations: 75.38 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1525, allocations: 59.94 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.1531, allocations: 350.5 kB / 362.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1535, allocations: 90.33 kB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.1539, allocations: 119.6 kB / 362.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1542, allocations: 143.3 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.1542, allocations: 16 kB / 362.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.1543, allocations: 20 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.1544, allocations: 51.75 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1545, allocations: 77.58 kB / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.1549, allocations: 271.5 kB / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.1549, allocations: 0 / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.155, allocations: 8 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.155, allocations: 0 / 363 MB, free: 9.066 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.001534/0.1565, allocations: 0.6146 MB / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.1566, allocations: 8.031 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1567, allocations: 35.62 kB / 363.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.1572, allocations: 275.3 kB / 363.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.1573, allocations: 24.56 kB / 363.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.1573, allocations: 24 kB / 363.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.1581, allocations: 307.3 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1581, allocations: 11.88 kB / 364.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.1582, allocations: 8 kB / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1582, allocations: 8 kB / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008029/0.159, allocations: 273.6 kB / 364.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.161, allocations: 1.113 MB / 365.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.1617, allocations: 238.6 kB / 365.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.162, allocations: 100.8 kB / 366 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1621, allocations: 8 kB / 366 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.1626, allocations: 185.8 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.1626, allocations: 0 / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001939/0.1645, allocations: 0.5418 MB / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.1646, allocations: 110.8 kB / 366.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1649, allocations: 290.6 kB / 367.1 MB, free: 4.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.165, allocations: 25.7 kB / 367.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1651, allocations: 195.6 kB / 367.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1651, allocations: 43.45 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1652, allocations: 0 / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1653, allocations: 334.8 kB / 367.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.1656, allocations: 112.1 kB / 367.8 MB, free: 3.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.166, allocations: 214.1 kB / 368 MB, free: 3.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.1664, allocations: 148.3 kB / 368.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1664, allocations: 0 / 368.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00122/0.1676, allocations: 447.7 kB / 368.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1677, allocations: 37.78 kB / 368.6 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1677, allocations: 4 kB / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.168, allocations: 68.81 kB / 368.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1683, allocations: 59.89 kB / 368.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.1706, allocations: 1.589 MB / 370.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.171, allocations: 59.72 kB / 370.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.171, allocations: 12 kB / 370.4 MB, free: 1.074 MB / 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 ($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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.1712, allocations: 153.7 kB / 370.6 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.1713, allocations: 23.72 kB / 370.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.1713, allocations: 25.7 kB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1714, allocations: 3.938 kB / 370.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1714, allocations: 4.188 kB / 370.6 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1714, allocations: 4 kB / 370.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1717, allocations: 313.3 kB / 370.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1717, allocations: 0 / 370.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1718, allocations: 19.98 kB / 370.9 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.1721, allocations: 68.8 kB / 371 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1721, allocations: 4 kB / 371 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2219/0.3941, allocations: 1.571 MB / 372.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3941, allocations: 0.8438 kB / 372.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3951, allocations: 340.4 kB / 372.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.3953, allocations: 112.1 kB / 373 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3953, allocations: 2.203 kB / 373 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.3956, allocations: 39.59 kB / 373.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.3957, allocations: 22.45 kB / 373.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3957, allocations: 6.656 kB / 373.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.3959, allocations: 202.2 kB / 373.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.396, allocations: 4.906 kB / 373.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.3964, allocations: 78.59 kB / 373.4 MB, free: 17.84 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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.3965, allocations: 95.61 kB / 373.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.3974, allocations: 440.5 kB / 373.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3974, allocations: 1.375 kB / 373.9 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.3979, allocations: 237.3 kB / 374.1 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3982, allocations: 42.25 kB / 374.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.3992, allocations: 0.5453 MB / 374.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3994, allocations: 0.7513 MB / 375.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.3996, allocations: 26.3 kB / 375.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.3996, allocations: 18.78 kB / 375.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3996, allocations: 0 / 375.5 MB, free: 16.46 MB / 302.1 MB Notification: Performance of Templates: time 0.008797/0.4084, allocations: 3.657 MB / 379.2 MB, free: 16.27 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