Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009568/0.0009568, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001105/0.001105, allocations: 172.3 kB / 25.33 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9918/0.9918, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.989e-05, allocations: 2.312 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003248/0.003267, allocations: 3.141 MB / 254.2 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004563, allocations: 0.9787 MB / 255.2 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.004698, allocations: 4 kB / 255.2 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.004855, allocations: 59.41 kB / 255.2 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.005152, allocations: 130.8 kB / 255.4 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.005442, allocations: 159.5 kB / 255.5 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.005838, allocations: 0.4937 MB / 256 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.006049, allocations: 95.47 kB / 256.1 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.006318, allocations: 279.4 kB / 256.4 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.006475, allocations: 151.6 kB / 256.5 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.006521, allocations: 39.94 kB / 256.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.00664, allocations: 79.89 kB / 256.6 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.006698, allocations: 99.58 kB / 256.7 MB, free: 1.77 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.007082, allocations: 151.7 kB / 256.9 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.00742, allocations: 350.8 kB / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.007422, allocations: 0 / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007422, allocations: 4 kB / 257.2 MB, free: 1.273 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.007428, allocations: 0 / 257.2 MB, free: 1.273 MB / 234.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.0008692/0.008297, allocations: 0.7567 MB / 258 MB, free: 488 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.008336, allocations: 15.98 kB / 258 MB, free: 472 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.008434, allocations: 72.66 kB / 258.1 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.008697, allocations: 251.4 kB / 258.3 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.008717, allocations: 25.03 kB / 258.3 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.008772, allocations: 36.38 kB / 258.4 MB, free: 60 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.009233, allocations: 398.7 kB / 258.8 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.009244, allocations: 192 / 258.8 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.009272, allocations: 16.38 kB / 258.8 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.009286, allocations: 11.94 kB / 258.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.009485, allocations: 127.8 kB / 258.9 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.0107, allocations: 0.9921 MB / 259.9 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.01103, allocations: 200 kB / 260.1 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.01133, allocations: 156 kB / 260.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.01151, allocations: 64.17 kB / 260.3 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.01154, allocations: 45.56 kB / 260.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.462e-06/0.01154, allocations: 0 / 260.4 MB, free: 13.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007656/0.01231, allocations: 354.8 kB / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.01235, allocations: 81.11 kB / 260.8 MB, free: 13.49 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.01257, allocations: 338.2 kB / 261.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01259, allocations: 33.7 kB / 261.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.01291, allocations: 267 kB / 261.4 MB, free: 12.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.01297, allocations: 99.12 kB / 261.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.01306, allocations: 79.72 kB / 261.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.01321, allocations: 0.504 MB / 262.1 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.01332, allocations: 56.7 kB / 262.2 MB, free: 12.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01348, allocations: 192 kB / 262.3 MB, free: 11.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.01373, allocations: 232.5 kB / 262.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01373, allocations: 0 / 262.6 MB, free: 11.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004076/0.01414, allocations: 336.5 kB / 262.9 MB, free: 11.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01415, allocations: 4 kB / 262.9 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01416, allocations: 4 kB / 262.9 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.01439, allocations: 71.8 kB / 263 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.01456, allocations: 75.83 kB / 263.1 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.01624, allocations: 2.262 MB / 265.3 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.01637, allocations: 39.73 kB / 265.4 MB, free: 8.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01639, allocations: 12 kB / 265.4 MB, free: 8.641 MB / 250.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.0001278/0.01652, allocations: 180.4 kB / 265.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.01657, allocations: 43.8 kB / 265.6 MB, free: 8.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.01692, allocations: 253.1 kB / 265.8 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01692, allocations: 4 kB / 265.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01692, allocations: 0 / 265.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01693, allocations: 7.922 kB / 265.8 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.0172, allocations: 272.3 kB / 266.1 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.01721, allocations: 3.984 kB / 266.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.01738, allocations: 51.91 kB / 266.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.01753, allocations: 55.66 kB / 266.2 MB, free: 7.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.01755, allocations: 11.98 kB / 266.2 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003768/0.01793, allocations: 0.8429 MB / 267.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01793, allocations: 0 / 267.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.0184, allocations: 451.6 kB / 267.5 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.01848, allocations: 51.72 kB / 267.6 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.01851, allocations: 11.94 kB / 267.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.01863, allocations: 24.02 kB / 267.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.01869, allocations: 11.97 kB / 267.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01871, allocations: 12 kB / 267.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.01888, allocations: 227 kB / 267.8 MB, free: 6.047 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.01888, allocations: 0 / 267.8 MB, free: 6.047 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.01921, allocations: 111.8 kB / 268 MB, free: 5.938 MB / 250.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.0001806/0.01939, allocations: 127.1 kB / 268.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.01995, allocations: 392.4 kB / 268.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01996, allocations: 0 / 268.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.02011, allocations: 107.5 kB / 268.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.02037, allocations: 45.36 kB / 268.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.02161, allocations: 0.7448 MB / 269.4 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.02169, allocations: 96.61 kB / 269.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.02177, allocations: 38.95 kB / 269.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.02183, allocations: 28.48 kB / 269.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02184, allocations: 4 kB / 269.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of Templates: time 0.00635/0.02819, allocations: 3.642 MB / 273.2 MB, free: 0.6875 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0634057139977813]