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.001083/0.001083, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.002177, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006662/0.0006662, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009013/0.001567, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8869/0.8869, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1579/1.045, allocations: 52.47 MB / 238.5 MB, free: 7.645 MB / 234.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.853e-06/1.853e-06, allocations: 3.938 kB / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.306e-05, allocations: 5.969 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00291/0.002923, allocations: 3.203 MB / 243 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.003848, allocations: 0.9715 MB / 243.9 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003952, allocations: 7.938 kB / 243.9 MB, free: 2.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.895e-05/0.004041, allocations: 59.42 kB / 244 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.004228, allocations: 130.8 kB / 244.1 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.004421, allocations: 156.8 kB / 244.3 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.004714, allocations: 493.6 kB / 244.8 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004854, allocations: 105.3 kB / 244.9 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.005113, allocations: 318.5 kB / 245.2 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.005259, allocations: 158.5 kB / 245.3 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.0053, allocations: 40 kB / 245.4 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.005427, allocations: 75.97 kB / 245.4 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.005472, allocations: 67.75 kB / 245.5 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.005552, allocations: 119.8 kB / 245.6 MB, free: 480 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.005824, allocations: 318.8 kB / 245.9 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.005834, allocations: 0 / 245.9 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005835, allocations: 4 kB / 245.9 MB, free: 156 kB / 234.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.005843, allocations: 0.9688 kB / 245.9 MB, free: 156 kB / 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.0007287/0.006572, allocations: 0.7255 MB / 246.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.006602, allocations: 16.02 kB / 246.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.006664, allocations: 54.86 kB / 246.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006857, allocations: 204.7 kB / 246.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.006873, allocations: 21.03 kB / 247 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.006915, allocations: 40.36 kB / 247 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.007204, allocations: 378.4 kB / 247.4 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007213, allocations: 4.125 kB / 247.4 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.007231, allocations: 16.38 kB / 247.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.007239, allocations: 11.94 kB / 247.4 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.007346, allocations: 85.17 kB / 247.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.008201, allocations: 0.8123 MB / 248.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.008413, allocations: 156.5 kB / 248.5 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.008589, allocations: 150.8 kB / 248.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.008714, allocations: 68.16 kB / 248.7 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.008733, allocations: 34.8 kB / 248.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.008734, allocations: 0 / 248.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.000444/0.009178, allocations: 274.4 kB / 249 MB, free: 12.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.009201, allocations: 55.41 kB / 249 MB, free: 12.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.009345, allocations: 266.9 kB / 249.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.009363, allocations: 33.7 kB / 249.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.009433, allocations: 196.8 kB / 249.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.009476, allocations: 103.1 kB / 249.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.009543, allocations: 78.02 kB / 249.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.009615, allocations: 342.8 kB / 250 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.009669, allocations: 40.72 kB / 250.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.009754, allocations: 143.4 kB / 250.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.009897, allocations: 187.9 kB / 250.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009899, allocations: 0 / 250.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002467/0.01015, allocations: 245.8 kB / 250.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01016, allocations: 8 kB / 250.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01016, allocations: 4 kB / 250.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.01032, allocations: 60.75 kB / 250.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.01054, allocations: 103.9 kB / 250.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/0.01138, allocations: 1.559 MB / 252.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.391e-05/0.01147, allocations: 31.78 kB / 252.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01149, allocations: 16.02 kB / 252.4 MB, free: 9.34 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 7.712e-05/0.01156, allocations: 129.8 kB / 252.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.0116, allocations: 27.97 kB / 252.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.0118, allocations: 198.2 kB / 252.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01181, allocations: 4 kB / 252.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01181, allocations: 0 / 252.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01181, allocations: 0 / 252.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.01197, allocations: 189.6 kB / 252.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01197, allocations: 4 kB / 252.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.01217, allocations: 79.8 kB / 253 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01219, allocations: 31.75 kB / 253 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.01231, allocations: 125.9 kB / 253.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.01232, allocations: 7.984 kB / 253.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000192/0.01252, allocations: 0.5562 MB / 253.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01252, allocations: 7.938 kB / 253.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.01276, allocations: 312.9 kB / 254 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01279, allocations: 11.94 kB / 254.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.01289, allocations: 15.98 kB / 254.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.01292, allocations: 19.95 kB / 254.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.01293, allocations: 8 kB / 254.1 MB, free: 7.523 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.013, allocations: 100.7 kB / 254.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.013, allocations: 0 / 254.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.01323, allocations: 123.7 kB / 254.3 MB, free: 7.301 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.0001173/0.01335, allocations: 104.3 kB / 254.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.01365, allocations: 298.9 kB / 254.7 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.01366, allocations: 8.281 kB / 254.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01378, allocations: 96.69 kB / 254.8 MB, free: 6.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01405, allocations: 360.8 kB / 255.2 MB, free: 6.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.01624, allocations: 0.63 MB / 255.8 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.01629, allocations: 100.6 kB / 255.9 MB, free: 5.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.01637, allocations: 34.97 kB / 255.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.0165, allocations: 111.3 kB / 256 MB, free: 5.445 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0165, allocations: 0 / 256 MB, free: 5.445 MB / 250.7 MB Notification: Performance of Templates: time 0.005936/0.02244, allocations: 4.326 MB / 260.4 MB, free: 1.199 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4815647322684526]