Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.0008962/0.0008962, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001044/0.001044, allocations: 172.2 kB / 24.92 MB, free: 8.734 MB / 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 3.984 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.957e-05, allocations: 4.562 kB / 273.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004407/0.004437, allocations: 2.827 MB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.00587, allocations: 0.6852 MB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.006021, allocations: 8 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.0062, allocations: 47.5 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.006434, allocations: 95.14 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.006737, allocations: 87.88 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.007178, allocations: 390.3 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.007394, allocations: 93.94 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.007711, allocations: 219.4 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.007935, allocations: 123.7 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.008002, allocations: 36 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.408e-05/0.008056, allocations: 32 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.008128, allocations: 79.67 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.008259, allocations: 111.8 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.008623, allocations: 255.1 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008628, allocations: 0 / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008629, allocations: 0 / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.008636, allocations: 0 / 278.6 MB, free: 12.01 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009781/0.009614, allocations: 0.5454 MB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.009653, allocations: 8.031 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.009742, allocations: 44.91 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.01004, allocations: 178.2 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.01006, allocations: 20.88 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.0101, allocations: 28.31 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.01055, allocations: 279.3 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.01056, allocations: 4.188 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.01059, allocations: 12.38 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.0106, allocations: 7.938 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.01079, allocations: 73.41 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.01206, allocations: 0.8014 MB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.01229, allocations: 74.48 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.01236, allocations: 28.84 kB / 280.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.01238, allocations: 4 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.01261, allocations: 169.3 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.01261, allocations: 0 / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007886/0.0134, allocations: 206.2 kB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.01345, allocations: 102.8 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.01366, allocations: 244.8 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.01369, allocations: 33.7 kB / 281.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.0138, allocations: 187.9 kB / 281.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.01384, allocations: 43.67 kB / 281.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.01393, allocations: 53.86 kB / 281.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01404, allocations: 338.8 kB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.01413, allocations: 45.92 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.0143, allocations: 219.2 kB / 282.3 MB, free: 7.969 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01451, allocations: 184.5 kB / 282.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01451, allocations: 0 / 282.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004463/0.01496, allocations: 265.6 kB / 282.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.015, allocations: 33.7 kB / 282.8 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01501, allocations: 7.938 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.01526, allocations: 73 kB / 282.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01536, allocations: 47.92 kB / 282.9 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008672/0.01623, allocations: 1.312 MB / 284.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.01636, allocations: 51.8 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01638, allocations: 12 kB / 284.3 MB, free: 5.828 MB / 266.7 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 7.99e-05/0.01646, allocations: 129.7 kB / 284.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.01648, allocations: 15.98 kB / 284.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.0165, allocations: 25.77 kB / 284.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01651, allocations: 3.938 kB / 284.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01651, allocations: 0 / 284.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01651, allocations: 0 / 284.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.01661, allocations: 141.7 kB / 284.6 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01662, allocations: 4 kB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.01665, allocations: 11.98 kB / 284.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.0168, allocations: 60.81 kB / 284.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01681, allocations: 7.984 kB / 284.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006811/0.01749, allocations: 1.296 MB / 285.9 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01749, allocations: 4.031 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.01766, allocations: 145.8 kB / 286.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.0177, allocations: 23.84 kB / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.01772, allocations: 8 kB / 286.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.0178, allocations: 15.98 kB / 286.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.01785, allocations: 31.89 kB / 286.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01786, allocations: 4 kB / 286.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.01792, allocations: 82.72 kB / 286.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01792, allocations: 0 / 286.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01812, allocations: 83.78 kB / 286.3 MB, free: 3.609 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 (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.0001193/0.01824, allocations: 88.39 kB / 286.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.01853, allocations: 311.8 kB / 286.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.01853, allocations: 4 kB / 286.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.01868, allocations: 171.3 kB / 286.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.01881, allocations: 44.27 kB / 286.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.01947, allocations: 422 kB / 287.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01951, allocations: 96.05 kB / 287.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.043e-05/0.01957, allocations: 26.28 kB / 287.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.01968, allocations: 103.3 kB / 287.6 MB, free: 2.262 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01968, allocations: 0 / 287.6 MB, free: 2.262 MB / 266.7 MB Notification: Performance of Templates: time 0.1006/0.1202, allocations: 4.249 MB / 291.8 MB, free: 25.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.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: 2.8230517832562327]