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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009699/0.0009699, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 164.5 kB / 24.82 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177 MB / 205.1 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 273.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.976e-05, allocations: 2.312 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002823/0.002843, allocations: 2.791 MB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003949, allocations: 0.6621 MB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004078, allocations: 4 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.004215, allocations: 39.58 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.004374, allocations: 103.1 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004628, allocations: 95.8 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.004959, allocations: 394.1 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.005119, allocations: 87.3 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.005332, allocations: 215.6 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005474, allocations: 131.6 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.00552, allocations: 32 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.005566, allocations: 36 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.005614, allocations: 67.75 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.005695, allocations: 119.7 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.005925, allocations: 259 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005927, allocations: 4 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005927, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.005931, allocations: 0 / 278.4 MB, free: 12.12 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.0007312/0.006662, allocations: 0.6661 MB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.006697, allocations: 12.03 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.006763, allocations: 60.7 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.006965, allocations: 209.1 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.006983, allocations: 20.88 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.007007, allocations: 24.38 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.007295, allocations: 281 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.007304, allocations: 192 / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.007322, allocations: 12.38 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.007331, allocations: 11.94 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.007448, allocations: 81.42 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.008344, allocations: 1.012 MB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.008507, allocations: 95.11 kB / 280.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.008548, allocations: 27.67 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.008568, allocations: 7.984 kB / 280.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.008728, allocations: 171.4 kB / 281 MB, free: 9.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.008729, allocations: 0 / 281 MB, free: 9.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005638/0.009293, allocations: 236.9 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.009335, allocations: 110.8 kB / 281.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.009509, allocations: 296.1 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.009526, allocations: 29.7 kB / 281.7 MB, free: 8.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.009643, allocations: 258.6 kB / 281.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.009669, allocations: 43.61 kB / 282 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.009736, allocations: 59.53 kB / 282 MB, free: 8.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.009856, allocations: 0.504 MB / 282.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.009909, allocations: 53.91 kB / 282.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.01003, allocations: 260.5 kB / 282.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.01019, allocations: 229.1 kB / 283.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01019, allocations: 0 / 283.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003515/0.01054, allocations: 315.5 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.01057, allocations: 32.36 kB / 283.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01058, allocations: 4 kB / 283.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.01084, allocations: 79.72 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01096, allocations: 39.92 kB / 283.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.01205, allocations: 1.886 MB / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.01219, allocations: 39.88 kB / 285.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01221, allocations: 15.98 kB / 285.5 MB, free: 4.391 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 8.517e-05/0.01229, allocations: 176.5 kB / 285.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.01232, allocations: 31.86 kB / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.01235, allocations: 25.7 kB / 285.7 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01236, allocations: 4 kB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01236, allocations: 0 / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.01237, allocations: 0 / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.01249, allocations: 177.2 kB / 285.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.01249, allocations: 4 kB / 285.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.01253, allocations: 11.98 kB / 285.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.0127, allocations: 71.62 kB / 286 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.01271, allocations: 0 / 286 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008935/0.0136, allocations: 1.862 MB / 287.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0136, allocations: 0 / 287.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.01383, allocations: 192 kB / 288 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.01388, allocations: 31.83 kB / 288 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.0139, allocations: 8 kB / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.01398, allocations: 19.98 kB / 288.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.01403, allocations: 27.89 kB / 288.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01404, allocations: 0 / 288.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.01412, allocations: 201 kB / 288.3 MB, free: 1.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01412, allocations: 0 / 288.3 MB, free: 1.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.01435, allocations: 91.83 kB / 288.4 MB, free: 1.289 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 8.17e-05/0.01443, allocations: 111.1 kB / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.01475, allocations: 370.3 kB / 288.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01475, allocations: 4 kB / 288.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01489, allocations: 237.4 kB / 289.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01506, allocations: 32.48 kB / 289.1 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006654/0.01573, allocations: 427 kB / 289.5 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.01578, allocations: 88.25 kB / 289.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.01584, allocations: 26.28 kB / 289.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01595, allocations: 118.2 kB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01595, allocations: 4 kB / 289.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Templates: time 0.00569/0.02164, allocations: 4.409 MB / 294.2 MB, free: 11.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9084205077961087]