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.0009545/0.0009545, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.000942/0.000942, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9787/0.9787, allocations: 177.1 MB / 205 MB, free: 5.617 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 1.042e-06/1.042e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.807e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002544/0.002562, allocations: 2.816 MB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.003371, allocations: 0.6698 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.003465, allocations: 4 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.003583, allocations: 43.58 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.003719, allocations: 107.1 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.003916, allocations: 83.81 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.0042, allocations: 390.3 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.004349, allocations: 79.36 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.004529, allocations: 227.5 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.004648, allocations: 115.7 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.004687, allocations: 32 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.004721, allocations: 40 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.004769, allocations: 79.67 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.004857, allocations: 119.7 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.005083, allocations: 247.1 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005085, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005086, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005089, allocations: 0 / 278 MB, free: 12.46 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.000716/0.005805, allocations: 0.6662 MB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.005835, allocations: 12.03 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/0.005921, allocations: 56.64 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.006137, allocations: 213.1 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.006153, allocations: 20.86 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.006177, allocations: 24.38 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.006507, allocations: 305 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.006516, allocations: 192 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.006536, allocations: 12.38 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.006545, allocations: 7.938 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.006708, allocations: 98.94 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.00758, allocations: 1.008 MB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.007755, allocations: 95.19 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.00781, allocations: 39.67 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.007834, allocations: 4 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.008002, allocations: 179.4 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.008003, allocations: 0 / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.000586/0.008589, allocations: 248.9 kB / 281 MB, free: 9.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.008632, allocations: 110.8 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.008811, allocations: 304.2 kB / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.008827, allocations: 25.7 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.008932, allocations: 258.7 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.008959, allocations: 43.62 kB / 281.7 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.00902, allocations: 59.55 kB / 281.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.009135, allocations: 0.504 MB / 282.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.009208, allocations: 65.91 kB / 282.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.009346, allocations: 264.5 kB / 282.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.009519, allocations: 236.2 kB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009521, allocations: 0 / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005187/0.01004, allocations: 332.2 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.01009, allocations: 37.69 kB / 283.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.0101, allocations: 4 kB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.01042, allocations: 75.88 kB / 283.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01055, allocations: 43.92 kB / 283.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.01182, allocations: 1.92 MB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.01202, allocations: 51.81 kB / 285.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01204, allocations: 12 kB / 285.3 MB, free: 4.57 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 0.0001064/0.01215, allocations: 168.6 kB / 285.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01218, allocations: 35.73 kB / 285.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.01221, allocations: 21.77 kB / 285.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01221, allocations: 4 kB / 285.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01221, allocations: 0 / 285.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01221, allocations: 0 / 285.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.01239, allocations: 216.4 kB / 285.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01239, allocations: 4 kB / 285.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.01243, allocations: 11.98 kB / 285.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.01262, allocations: 71.62 kB / 285.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.01263, allocations: 7.938 kB / 285.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009142/0.01354, allocations: 1.901 MB / 287.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01354, allocations: 0 / 287.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.0138, allocations: 195.8 kB / 287.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.01386, allocations: 31.84 kB / 287.9 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.01388, allocations: 7.938 kB / 287.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.01397, allocations: 19.97 kB / 288 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.01403, allocations: 28 kB / 288 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01404, allocations: 7.984 kB / 288 MB, free: 1.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01415, allocations: 205.1 kB / 288.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01415, allocations: 0 / 288.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.01438, allocations: 83.84 kB / 288.3 MB, free: 1.367 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 9.097e-05/0.01447, allocations: 103.2 kB / 288.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.01487, allocations: 388.8 kB / 288.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01487, allocations: 0 / 288.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01502, allocations: 237.4 kB / 289 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.0152, allocations: 48.27 kB / 289 MB, free: 0.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.01597, allocations: 435.6 kB / 289.5 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01602, allocations: 92.17 kB / 289.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.01608, allocations: 18.3 kB / 289.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.01613, allocations: 20.5 kB / 289.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01613, allocations: 0 / 289.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of Templates: time 0.006377/0.0225, allocations: 4.371 MB / 294 MB, free: 11.64 MB / 282.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 -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.7853936259634793]