Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 84.06 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.013/1.013, allocations: 173.3 MB / 201.1 MB, free: 8.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.159e-05, allocations: 2.312 kB / 268 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003221/0.003243, allocations: 3.183 MB / 271.2 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004593, allocations: 0.9505 MB / 272.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.004731, allocations: 4 kB / 272.1 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.004886, allocations: 63.36 kB / 272.2 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.005191, allocations: 134.8 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.005494, allocations: 151.5 kB / 272.5 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.005877, allocations: 0.4938 MB / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.006068, allocations: 87.69 kB / 273.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.006366, allocations: 283.4 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.006537, allocations: 155.5 kB / 273.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.006584, allocations: 40 kB / 273.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.006706, allocations: 71.91 kB / 273.6 MB, free: 484 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.006766, allocations: 95.59 kB / 273.7 MB, free: 388 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.006878, allocations: 151.6 kB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.007218, allocations: 354.9 kB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.007221, allocations: 0 / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007222, allocations: 0 / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.007228, allocations: 0 / 274.2 MB, free: 15.88 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.0008459/0.008074, allocations: 0.7606 MB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.008111, allocations: 8.922 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.008197, allocations: 76.66 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.00846, allocations: 251.3 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.008482, allocations: 29.03 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.008535, allocations: 36.33 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.008949, allocations: 394.7 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.00896, allocations: 192 / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.008983, allocations: 12.38 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.009015, allocations: 11.94 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.009211, allocations: 127.8 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.01035, allocations: 0.9999 MB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.01065, allocations: 196 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.0109, allocations: 156 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.01106, allocations: 68.17 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.01109, allocations: 33.62 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.01109, allocations: 4 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007061/0.0118, allocations: 351.4 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.01183, allocations: 81.11 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.01204, allocations: 334.2 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.01206, allocations: 29.7 kB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01217, allocations: 267 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.01223, allocations: 111.2 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.01231, allocations: 75.69 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.01245, allocations: 0.5118 MB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.01256, allocations: 56.72 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.01271, allocations: 183.8 kB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.01294, allocations: 232.6 kB / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01294, allocations: 0 / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003945/0.01333, allocations: 336.2 kB / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01335, allocations: 11.06 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01336, allocations: 4 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.01359, allocations: 75.56 kB / 279.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.01376, allocations: 71.91 kB / 280 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.01511, allocations: 2.27 MB / 282.3 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01523, allocations: 35.77 kB / 282.3 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.01525, allocations: 12 kB / 282.3 MB, free: 7.25 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 0.0001056/0.01535, allocations: 184.5 kB / 282.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.0154, allocations: 35.81 kB / 282.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.01573, allocations: 249.1 kB / 282.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01573, allocations: 4 kB / 282.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.01573, allocations: 0 / 282.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01574, allocations: 0 / 282.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.01598, allocations: 276.3 kB / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01598, allocations: 0 / 283 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.01615, allocations: 59.91 kB / 283.1 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.01629, allocations: 51.64 kB / 283.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.01631, allocations: 8 kB / 283.2 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003071/0.01662, allocations: 0.8468 MB / 284 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01662, allocations: 0 / 284 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.01703, allocations: 451.9 kB / 284.4 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.01706, allocations: 31.75 kB / 284.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.01709, allocations: 7.938 kB / 284.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.0172, allocations: 19.98 kB / 284.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.01725, allocations: 15.95 kB / 284.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.01726, allocations: 15.98 kB / 284.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.01739, allocations: 223 kB / 284.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01739, allocations: 4 kB / 284.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005218/0.01792, allocations: 115.7 kB / 284.9 MB, free: 4.566 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.000241/0.01816, allocations: 131.1 kB / 285 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006752/0.01883, allocations: 384.6 kB / 285.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01883, allocations: 0.5 kB / 285.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.01903, allocations: 107.5 kB / 285.5 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.01935, allocations: 40.64 kB / 285.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.02059, allocations: 0.7399 MB / 286.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.02066, allocations: 104.3 kB / 286.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.062e-05/0.02075, allocations: 34.95 kB / 286.4 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.02081, allocations: 28.48 kB / 286.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02081, allocations: 0 / 286.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of Templates: time 0.1129/0.1337, allocations: 3.629 MB / 290.1 MB, free: 29.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.185449972283095]