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.000766/0.000766, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.00179, allocations: 449.7 kB / 10.37 MB, free: 332 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.001007/0.001007, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002436, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9504/0.9504, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08129/1.032, allocations: 52.5 MB / 238.3 MB, free: 4.43 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.653e-06/1.653e-06, allocations: 3.938 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.84e-05, allocations: 2.875 kB / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003712/0.00373, allocations: 3.204 MB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.004916, allocations: 0.962 MB / 243.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.00504, allocations: 4 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.005136, allocations: 71.28 kB / 243.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.00536, allocations: 126.8 kB / 243.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.005607, allocations: 155.5 kB / 244.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.005963, allocations: 0.4898 MB / 244.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.006124, allocations: 96.31 kB / 244.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.006417, allocations: 326.5 kB / 245 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.006566, allocations: 155.5 kB / 245.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.006607, allocations: 40 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.006743, allocations: 75.97 kB / 245.3 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.006793, allocations: 67.75 kB / 245.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.006884, allocations: 115.8 kB / 245.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.007193, allocations: 334.7 kB / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.007208, allocations: 3.984 kB / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007209, allocations: 0 / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.007225, allocations: 0 / 245.8 MB, free: 12.93 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.0008254/0.008051, allocations: 0.7214 MB / 246.5 MB, free: 12.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.008079, allocations: 12.03 kB / 246.5 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.008142, allocations: 52.89 kB / 246.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.00836, allocations: 212.6 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.008377, allocations: 21.03 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.008421, allocations: 44.36 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.008747, allocations: 373 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.008757, allocations: 192 / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.008777, allocations: 16.38 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.008789, allocations: 11.94 kB / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.008905, allocations: 84.48 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.009824, allocations: 0.8113 MB / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.01005, allocations: 158.4 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.01022, allocations: 141.2 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.01036, allocations: 68.17 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.01039, allocations: 42.78 kB / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.01039, allocations: 0 / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004815/0.01087, allocations: 264.8 kB / 248.8 MB, free: 9.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.01089, allocations: 55.41 kB / 248.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.01104, allocations: 266.9 kB / 249.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.01106, allocations: 41.64 kB / 249.1 MB, free: 9.371 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.01113, allocations: 200.7 kB / 249.3 MB, free: 9.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.01118, allocations: 103.1 kB / 249.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.01124, allocations: 70.05 kB / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.01132, allocations: 346.7 kB / 249.8 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.01137, allocations: 36.73 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.01146, allocations: 139.5 kB / 250 MB, free: 8.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.0116, allocations: 179 kB / 250.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0116, allocations: 0 / 250.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002589/0.01186, allocations: 253.7 kB / 250.4 MB, free: 7.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01187, allocations: 8 kB / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01188, allocations: 0 / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.01204, allocations: 68.81 kB / 250.5 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.01227, allocations: 91.88 kB / 250.6 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.01317, allocations: 1.571 MB / 252.2 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01327, allocations: 31.78 kB / 252.2 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01329, allocations: 11.98 kB / 252.2 MB, free: 6.117 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 8.402e-05/0.01337, allocations: 129.8 kB / 252.3 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.01341, allocations: 27.97 kB / 252.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.01361, allocations: 194.4 kB / 252.5 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01361, allocations: 4 kB / 252.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.01361, allocations: 0 / 252.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01362, allocations: 0 / 252.5 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.0138, allocations: 197.6 kB / 252.7 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.0138, allocations: 0 / 252.7 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.014, allocations: 75.8 kB / 252.8 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01402, allocations: 27.75 kB / 252.8 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.01414, allocations: 129.9 kB / 253 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01415, allocations: 7.984 kB / 253 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002045/0.01436, allocations: 0.5524 MB / 253.5 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01436, allocations: 3.938 kB / 253.5 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.01462, allocations: 316.9 kB / 253.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.01465, allocations: 15.97 kB / 253.9 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01476, allocations: 15.98 kB / 253.9 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.01479, allocations: 23.91 kB / 253.9 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.0148, allocations: 4 kB / 253.9 MB, free: 4.305 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.01488, allocations: 100.6 kB / 254 MB, free: 4.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01488, allocations: 0 / 254 MB, free: 4.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01514, allocations: 119.7 kB / 254.1 MB, free: 4.086 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.0001333/0.01527, allocations: 112.3 kB / 254.2 MB, free: 3.969 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.01561, allocations: 298.5 kB / 254.5 MB, free: 3.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01562, allocations: 4 kB / 254.5 MB, free: 3.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01574, allocations: 88.73 kB / 254.6 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01592, allocations: 69.12 kB / 254.7 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.01813, allocations: 0.6367 MB / 255.3 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.01818, allocations: 96.61 kB / 255.4 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.935e-05/0.01827, allocations: 42.89 kB / 255.4 MB, free: 2.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.01839, allocations: 103.3 kB / 255.5 MB, free: 2.578 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01839, allocations: 3.938 kB / 255.5 MB, free: 2.574 MB / 250.7 MB Notification: Performance of Templates: time 0.005801/0.02419, allocations: 4.121 MB / 259.7 MB, free: 14.5 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4630045974627137]