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.0007244/0.0007244, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009497/0.001674, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007182/0.0007182, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009181/0.001636, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9618/0.9618, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08532/1.047, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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 1.753e-06/1.753e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.299e-05, allocations: 2.312 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004913/0.004936, allocations: 2.982 MB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.006541, allocations: 0.7671 MB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.006751, allocations: 11.94 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.006893, allocations: 47.56 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.007152, allocations: 111 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.00745, allocations: 123.8 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.007974, allocations: 430.2 kB / 249 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.008176, allocations: 90.28 kB / 249.1 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.008599, allocations: 264.1 kB / 249.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.008857, allocations: 143.6 kB / 249.5 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.561e-05/0.008942, allocations: 40 kB / 249.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.413e-05/0.009006, allocations: 44 kB / 249.6 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.009071, allocations: 59.81 kB / 249.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.009208, allocations: 99.81 kB / 249.7 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.009556, allocations: 239.1 kB / 250 MB, free: 8.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.721e-05/0.009573, allocations: 0 / 250 MB, free: 8.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009574, allocations: 0 / 250 MB, free: 8.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.009593, allocations: 0 / 250 MB, free: 8.828 MB / 250.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.0011/0.01069, allocations: 0.6309 MB / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.01073, allocations: 8.031 kB / 250.6 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.765e-05/0.01083, allocations: 44.91 kB / 250.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.01114, allocations: 181.3 kB / 250.8 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.01117, allocations: 20.88 kB / 250.9 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.01121, allocations: 28.31 kB / 250.9 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.01166, allocations: 299.3 kB / 251.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.01168, allocations: 192 / 251.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.0117, allocations: 12.36 kB / 251.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.01172, allocations: 11.94 kB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.01189, allocations: 63.47 kB / 251.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01336, allocations: 0.799 MB / 252.1 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.01355, allocations: 102.4 kB / 252.2 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.01359, allocations: 28.84 kB / 252.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01361, allocations: 0 / 252.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.01379, allocations: 173.2 kB / 252.4 MB, free: 6.273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.01379, allocations: 0 / 252.4 MB, free: 6.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005483/0.01434, allocations: 262.2 kB / 252.6 MB, free: 6.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.01437, allocations: 55.41 kB / 252.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.01451, allocations: 240.9 kB / 252.9 MB, free: 5.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.01453, allocations: 33.7 kB / 252.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.01462, allocations: 191.9 kB / 253.1 MB, free: 5.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.01465, allocations: 43.62 kB / 253.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.01471, allocations: 49.92 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.01478, allocations: 334.8 kB / 253.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.01483, allocations: 54.09 kB / 253.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.01492, allocations: 198 kB / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.01505, allocations: 179.2 kB / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01506, allocations: 0 / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002762/0.01533, allocations: 265.4 kB / 254.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.01537, allocations: 33.92 kB / 254.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01538, allocations: 4 kB / 254.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.0156, allocations: 81.02 kB / 254.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01571, allocations: 43.98 kB / 254.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008637/0.01657, allocations: 1.457 MB / 255.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.01671, allocations: 47.98 kB / 255.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01672, allocations: 12 kB / 255.9 MB, free: 2.445 MB / 250.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 8.246e-05/0.0168, allocations: 137.1 kB / 256 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.01682, allocations: 19.98 kB / 256 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.01685, allocations: 25.7 kB / 256.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01685, allocations: 4 kB / 256.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01685, allocations: 0 / 256.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01686, allocations: 0 / 256.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.01697, allocations: 149.7 kB / 256.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01697, allocations: 0 / 256.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.01702, allocations: 19.98 kB / 256.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.01704, allocations: 19.84 kB / 256.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.01719, allocations: 72.81 kB / 256.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.0172, allocations: 0 / 256.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006903/0.01789, allocations: 1.292 MB / 257.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01789, allocations: 0 / 257.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.01812, allocations: 173.8 kB / 257.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01814, allocations: 0 / 257.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01825, allocations: 27.97 kB / 257.8 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.01831, allocations: 15.97 kB / 257.8 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01832, allocations: 4 kB / 257.8 MB, free: 376 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.0184, allocations: 90.7 kB / 257.9 MB, free: 284 kB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0184, allocations: 0 / 257.9 MB, free: 284 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.01872, allocations: 87.72 kB / 258 MB, free: 196 kB / 250.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 0.000103/0.01882, allocations: 84.42 kB / 258.1 MB, free: 100 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.01917, allocations: 299.5 kB / 258.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.01918, allocations: 8.625 kB / 258.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.01932, allocations: 183.2 kB / 258.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01954, allocations: 74.06 kB / 258.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.02178, allocations: 445.5 kB / 259.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.02183, allocations: 88.03 kB / 259.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.055e-05/0.02193, allocations: 26.28 kB / 259.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.02207, allocations: 103.3 kB / 259.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02207, allocations: 0 / 259.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Templates: time 0.007465/0.02953, allocations: 4.476 MB / 263.8 MB, free: 10.41 MB / 266.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 -ignoreHideResult -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.479462298564613]