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.001946/0.001946, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.002223/0.002223, allocations: 153.1 kB / 24.26 MB, free: 152 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.446/1.446, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] 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.724e-06/1.724e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.277e-05, allocations: 6.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004649/0.004681, allocations: 2.947 MB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.006436, allocations: 0.9115 MB / 271.2 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.006574, allocations: 7.938 kB / 271.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.006764, allocations: 59.42 kB / 271.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.007147, allocations: 134.8 kB / 271.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.007521, allocations: 147.5 kB / 271.5 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.008096, allocations: 0.4939 MB / 272 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.008305, allocations: 91.61 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.0087, allocations: 283.4 kB / 272.4 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.008942, allocations: 155.5 kB / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.701e-05/0.009019, allocations: 40 kB / 272.6 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.009173, allocations: 71.97 kB / 272.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.009279, allocations: 91.66 kB / 272.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.009463, allocations: 147.6 kB / 272.9 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.01013, allocations: 0.5139 MB / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01013, allocations: 0 / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01013, allocations: 0 / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.01014, allocations: 0 / 273.4 MB, free: 0.582 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.001479/0.01162, allocations: 0.6556 MB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.01166, allocations: 8.922 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.01205, allocations: 84.58 kB / 274.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.01252, allocations: 252.5 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.01256, allocations: 25.03 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.01264, allocations: 40.33 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.01346, allocations: 452.4 kB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01347, allocations: 192 / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.01351, allocations: 13.5 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.01353, allocations: 8 kB / 274.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.01406, allocations: 230.5 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.0161, allocations: 0.9967 MB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.01681, allocations: 243.5 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.01738, allocations: 197.3 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.01771, allocations: 72.16 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.01775, allocations: 38.8 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.01775, allocations: 0 / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001463/0.01922, allocations: 448.6 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.01929, allocations: 81.11 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.01966, allocations: 296.5 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.0197, allocations: 37.7 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.01989, allocations: 220.3 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.01999, allocations: 103.2 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.02013, allocations: 70.02 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.02033, allocations: 338.8 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.02058, allocations: 100.7 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.02094, allocations: 211.4 kB / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.02151, allocations: 279.7 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02152, allocations: 0 / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009273/0.02245, allocations: 425.7 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.02246, allocations: 7.938 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.02248, allocations: 7.938 kB / 279.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.02284, allocations: 77.06 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.02319, allocations: 75.89 kB / 279.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.0257, allocations: 1.829 MB / 281.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.02595, allocations: 35.78 kB / 281.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.02599, allocations: 15.98 kB / 281.3 MB, free: 8.289 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.000189/0.02618, allocations: 145.8 kB / 281.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.02627, allocations: 43.88 kB / 281.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008146/0.02708, allocations: 322.2 kB / 281.8 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02709, allocations: 0 / 281.8 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02709, allocations: 4 kB / 281.8 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.02709, allocations: 0 / 281.8 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.02754, allocations: 277 kB / 282 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02754, allocations: 0 / 282 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.0279, allocations: 63.89 kB / 282.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.02811, allocations: 56.83 kB / 282.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.02814, allocations: 11.92 kB / 282.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005607/0.0287, allocations: 0.5993 MB / 282.8 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0287, allocations: 0 / 282.8 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.02976, allocations: 0.5133 MB / 283.3 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.02982, allocations: 31.75 kB / 283.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.02987, allocations: 8 kB / 283.3 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.03014, allocations: 15.98 kB / 283.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.03021, allocations: 19.95 kB / 283.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.03023, allocations: 11.94 kB / 283.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002412/0.03047, allocations: 203.1 kB / 283.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03047, allocations: 4 kB / 283.6 MB, free: 5.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000496/0.03097, allocations: 119.7 kB / 283.7 MB, free: 5.758 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.0002395/0.03121, allocations: 135 kB / 283.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009179/0.03213, allocations: 386.2 kB / 284.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03213, allocations: 4.062 kB / 284.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.0325, allocations: 123.9 kB / 284.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.03288, allocations: 47.42 kB / 284.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.03432, allocations: 0.7619 MB / 285.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.03452, allocations: 190.5 kB / 285.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.03467, allocations: 30.97 kB / 285.4 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.03475, allocations: 28.5 kB / 285.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03475, allocations: 0 / 285.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of Templates: time 0.009818/0.04457, allocations: 3.622 MB / 289 MB, free: 444 kB / 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.577129142009653]