Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0009466/0.0009466, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00107/0.00107, allocations: 170.6 kB / 24.91 MB, free: 8.723 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 0.9257/0.9257, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.546e-05, allocations: 2.312 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003005/0.00302, allocations: 3.188 MB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004426, allocations: 1.02 MB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.004592, allocations: 7.938 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.004738, allocations: 55.42 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.005047, allocations: 138.7 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.005355, allocations: 159.5 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.005713, allocations: 0.4939 MB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.005867, allocations: 100.2 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.006183, allocations: 295.3 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.006339, allocations: 151.6 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.006381, allocations: 40 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006492, allocations: 71.97 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.006552, allocations: 91.66 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.006657, allocations: 159.6 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.006972, allocations: 362.7 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006974, allocations: 0 / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006975, allocations: 4 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.006979, allocations: 0 / 279.8 MB, free: 10.83 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007377/0.007717, allocations: 0.6358 MB / 280.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.007748, allocations: 12.02 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.007882, allocations: 64.89 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.008237, allocations: 208.6 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.008256, allocations: 29.03 kB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.0083, allocations: 44.3 kB / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.008614, allocations: 369 kB / 281.1 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.008623, allocations: 4.188 kB / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.00864, allocations: 12.38 kB / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.008649, allocations: 11.94 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.008764, allocations: 84.55 kB / 281.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009366/0.0097, allocations: 0.8074 MB / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.009919, allocations: 159.1 kB / 282.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.0101, allocations: 137.2 kB / 282.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.01024, allocations: 76.14 kB / 282.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.01026, allocations: 38.73 kB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.01026, allocations: 4 kB / 282.4 MB, free: 8 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004981/0.01076, allocations: 264.8 kB / 282.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.01079, allocations: 81.11 kB / 282.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.01094, allocations: 278.8 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01096, allocations: 37.7 kB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.01104, allocations: 192.8 kB / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.01109, allocations: 115 kB / 283.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.01115, allocations: 62.05 kB / 283.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.01123, allocations: 346.7 kB / 283.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.01129, allocations: 36.73 kB / 283.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.01138, allocations: 147.5 kB / 284 MB, free: 6.371 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01154, allocations: 175.7 kB / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01154, allocations: 0 / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002693/0.01181, allocations: 250 kB / 284.4 MB, free: 5.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.01182, allocations: 7.938 kB / 284.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.01183, allocations: 4 kB / 284.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.01199, allocations: 68.8 kB / 284.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.01215, allocations: 67.89 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008858/0.01303, allocations: 1.551 MB / 286.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01314, allocations: 31.73 kB / 286.1 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01315, allocations: 12 kB / 286.1 MB, free: 4.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.645e-05/0.01324, allocations: 125.7 kB / 286.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.01328, allocations: 31.97 kB / 286.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.01351, allocations: 194.3 kB / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01351, allocations: 4.031 kB / 286.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.01352, allocations: 11.98 kB / 286.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01352, allocations: 0 / 286.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.01371, allocations: 193.6 kB / 286.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01371, allocations: 0 / 286.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.01386, allocations: 47.97 kB / 286.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.01397, allocations: 48.8 kB / 286.8 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01399, allocations: 7.938 kB / 286.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000213/0.0142, allocations: 0.5601 MB / 287.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0142, allocations: 0 / 287.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.01447, allocations: 325.4 kB / 287.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.0145, allocations: 31.75 kB / 287.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01452, allocations: 4 kB / 287.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01463, allocations: 24.02 kB / 287.7 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.01479, allocations: 15.97 kB / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.0148, allocations: 11.92 kB / 287.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.146e-05/0.01487, allocations: 104.6 kB / 287.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01487, allocations: 0 / 287.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01513, allocations: 107.8 kB / 287.9 MB, free: 2.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001391/0.01527, allocations: 120.2 kB / 288.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.0156, allocations: 286.1 kB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.01561, allocations: 4 kB / 288.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.01572, allocations: 105.1 kB / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.01589, allocations: 36.77 kB / 288.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.01674, allocations: 0.6691 MB / 289.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.571e-05/0.01679, allocations: 100.6 kB / 289.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.01688, allocations: 34.95 kB / 289.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.01699, allocations: 103.3 kB / 289.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01699, allocations: 0 / 289.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of Templates: time 0.09259/0.1096, allocations: 3.845 MB / 293.2 MB, free: 25.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.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.6852851272560656]