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.000899/0.000899, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009124/0.0009124, allocations: 143.1 kB / 24.89 MB, free: 8.789 MB / 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 0.9218/0.9218, allocations: 173.4 MB / 201.5 MB, free: 8.289 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.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.326e-05, allocations: 5.406 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002617/0.00263, allocations: 3.137 MB / 271.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003698, allocations: 0.9728 MB / 272.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.003814, allocations: 7.938 kB / 272.6 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.003944, allocations: 60.11 kB / 272.7 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.004196, allocations: 126.7 kB / 272.8 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.00443, allocations: 151.5 kB / 273 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.004747, allocations: 0.4977 MB / 273.4 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.00489, allocations: 92.33 kB / 273.5 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.005119, allocations: 279.4 kB / 273.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005266, allocations: 160.5 kB / 274 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.005307, allocations: 43.94 kB / 274 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.005408, allocations: 75.97 kB / 274.1 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.005463, allocations: 91.66 kB / 274.2 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.005554, allocations: 143.7 kB / 274.3 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.005846, allocations: 362.6 kB / 274.7 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005847, allocations: 0 / 274.7 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005848, allocations: 0 / 274.7 MB, free: 3.605 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005851, allocations: 0 / 274.7 MB, free: 3.605 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006579/0.006509, allocations: 0.6319 MB / 275.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.006537, allocations: 12.03 kB / 275.3 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.0066, allocations: 56.89 kB / 275.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.006806, allocations: 212.6 kB / 275.6 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006824, allocations: 29.03 kB / 275.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.006867, allocations: 40.38 kB / 275.6 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.007161, allocations: 365 kB / 276 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007169, allocations: 192 / 276 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.007188, allocations: 12.38 kB / 276 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.007196, allocations: 15.88 kB / 276 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.007302, allocations: 80.55 kB / 276.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.008194, allocations: 0.8152 MB / 276.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.008397, allocations: 155.2 kB / 277.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.008576, allocations: 145.2 kB / 277.2 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.008708, allocations: 68.16 kB / 277.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.008729, allocations: 38.8 kB / 277.3 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.233e-06/0.00873, allocations: 0 / 277.3 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004738/0.009204, allocations: 282.5 kB / 277.6 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.009234, allocations: 85.09 kB / 277.7 MB, free: 428 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.009373, allocations: 262.9 kB / 277.9 MB, free: 148 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.00939, allocations: 33.7 kB / 278 MB, free: 108 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.009472, allocations: 200.9 kB / 278.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.00952, allocations: 103.2 kB / 278.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.009585, allocations: 66.05 kB / 278.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.009669, allocations: 350.7 kB / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.009725, allocations: 32.73 kB / 278.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.009818, allocations: 147.5 kB / 278.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.00996, allocations: 163.9 kB / 279 MB, free: 14.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.009963, allocations: 4 kB / 279 MB, free: 14.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002588/0.01022, allocations: 253.3 kB / 279.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01023, allocations: 8 kB / 279.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.01024, allocations: 0 / 279.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.01039, allocations: 69.05 kB / 279.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01054, allocations: 71.89 kB / 279.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008515/0.01139, allocations: 1.559 MB / 281 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.01149, allocations: 27.78 kB / 281 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01151, allocations: 19.92 kB / 281 MB, free: 12.88 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.343e-05/0.01159, allocations: 129.8 kB / 281.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01162, allocations: 28 kB / 281.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.01183, allocations: 202.2 kB / 281.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01184, allocations: 4 kB / 281.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.01184, allocations: 0 / 281.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01184, allocations: 0 / 281.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.01202, allocations: 189.6 kB / 281.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01202, allocations: 0 / 281.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.01217, allocations: 55.89 kB / 281.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.803e-05/0.01227, allocations: 52.88 kB / 281.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01228, allocations: 7.938 kB / 281.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001949/0.01247, allocations: 0.5524 MB / 282.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01247, allocations: 0 / 282.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.01273, allocations: 328.8 kB / 282.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.01276, allocations: 31.77 kB / 282.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01278, allocations: 8 kB / 282.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.01288, allocations: 16 kB / 282.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.01291, allocations: 19.89 kB / 282.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01292, allocations: 8 kB / 282.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.01299, allocations: 100.6 kB / 282.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01299, allocations: 0 / 282.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01323, allocations: 111.7 kB / 282.8 MB, free: 10.97 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.0001161/0.01335, allocations: 120.2 kB / 282.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.01366, allocations: 290.5 kB / 283.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.01367, allocations: 4 kB / 283.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01378, allocations: 92.72 kB / 283.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.01394, allocations: 37.14 kB / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.01477, allocations: 0.6796 MB / 284 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.979e-05/0.01482, allocations: 96.61 kB / 284.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.0149, allocations: 38.95 kB / 284.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01501, allocations: 99.34 kB / 284.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01502, allocations: 0 / 284.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of Templates: time 0.005351/0.02037, allocations: 3.846 MB / 288.1 MB, free: 5.672 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: 2.5926507469266653]