Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.0008378/0.0008378, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.0009695/0.0009695, allocations: 170.2 kB / 24.82 MB, free: 9.293 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.105e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00361/0.003641, allocations: 2.918 MB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.004532, allocations: 0.7479 MB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.004651, allocations: 7.938 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.004773, allocations: 47.56 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.004904, allocations: 115 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.005123, allocations: 127.7 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.005414, allocations: 430.2 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005556, allocations: 83.66 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.005754, allocations: 231.5 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.005891, allocations: 139.6 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.005934, allocations: 40 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.005972, allocations: 40 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.006023, allocations: 75.75 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.125e-05/0.006114, allocations: 127.7 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.006338, allocations: 259.1 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006341, allocations: 8 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006342, allocations: 0 / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.006347, allocations: 0 / 278.8 MB, free: 11.84 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006715/0.007018, allocations: 0.6894 MB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.007056, allocations: 12.03 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.007118, allocations: 56.7 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.007329, allocations: 240 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.007342, allocations: 16.88 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.007369, allocations: 28.38 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.007669, allocations: 293 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.007677, allocations: 192 / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.007693, allocations: 8.375 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.007701, allocations: 15.94 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.007805, allocations: 79.42 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/0.00879, allocations: 1.045 MB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.008976, allocations: 103.1 kB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.009021, allocations: 35.66 kB / 281.4 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.009039, allocations: 0 / 281.4 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.009201, allocations: 171.5 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.009202, allocations: 4 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006255/0.009828, allocations: 292.9 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.009881, allocations: 111 kB / 282 MB, free: 8.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.01007, allocations: 304.1 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.01009, allocations: 37.64 kB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01021, allocations: 246.7 kB / 282.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.01024, allocations: 47.67 kB / 282.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.0103, allocations: 55.53 kB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01042, allocations: 0.5079 MB / 283.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.01048, allocations: 54.14 kB / 283.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.0106, allocations: 233.6 kB / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.01075, allocations: 215.9 kB / 283.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01075, allocations: 0 / 283.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003191/0.01107, allocations: 308.4 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.01109, allocations: 33.7 kB / 284 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.0111, allocations: 4 kB / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.0113, allocations: 75.7 kB / 284.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.01139, allocations: 43.91 kB / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.01243, allocations: 2.122 MB / 286.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01255, allocations: 43.86 kB / 286.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01256, allocations: 4 kB / 286.3 MB, free: 3.773 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.01266, allocations: 180.4 kB / 286.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.01269, allocations: 35.83 kB / 286.5 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.01272, allocations: 25.77 kB / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01272, allocations: 0 / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.01272, allocations: 4 kB / 286.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01272, allocations: 0 / 286.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.01285, allocations: 177.1 kB / 286.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01285, allocations: 0 / 286.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.01289, allocations: 19.98 kB / 286.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.01305, allocations: 75.58 kB / 286.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01306, allocations: 3.984 kB / 286.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008434/0.0139, allocations: 1.866 MB / 288.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.0139, allocations: 0 / 288.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01413, allocations: 207.7 kB / 288.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.01415, allocations: 27.84 kB / 288.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01417, allocations: 4.031 kB / 288.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.01425, allocations: 27.97 kB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.01429, allocations: 23.91 kB / 288.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.0143, allocations: 0 / 288.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.01439, allocations: 201 kB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 0 / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01461, allocations: 87.77 kB / 289.2 MB, free: 0.6484 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.607e-05/0.01471, allocations: 107.2 kB / 289.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01501, allocations: 365.5 kB / 289.7 MB, free: 144 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01501, allocations: 0 / 289.7 MB, free: 144 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.01515, allocations: 233.4 kB / 289.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.01535, allocations: 59.7 kB / 290 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.01602, allocations: 435 kB / 290.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01606, allocations: 92.12 kB / 290.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.01612, allocations: 22.3 kB / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01625, allocations: 126.2 kB / 290.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01625, allocations: 0 / 290.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Templates: time 0.006194/0.02245, allocations: 4.461 MB / 295.1 MB, free: 10.74 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.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.798576178960502]