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.001011/0.001011, allocations: 79.73 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.001133/0.001133, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.8791/0.8791, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.853e-06/1.853e-06, allocations: 0 / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.962e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.006998/0.007028, allocations: 3.142 MB / 254.2 MB, free: 432 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.008924, allocations: 0.9787 MB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.009188, allocations: 4 kB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.009391, allocations: 63.41 kB / 255.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.01301, allocations: 126.8 kB / 255.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.01352, allocations: 163.5 kB / 255.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000533/0.01405, allocations: 0.4937 MB / 256 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.01427, allocations: 91.47 kB / 256.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.01467, allocations: 283.4 kB / 256.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.01488, allocations: 151.6 kB / 256.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.01494, allocations: 36 kB / 256.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.0151, allocations: 71.91 kB / 256.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.01517, allocations: 99.58 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.0153, allocations: 151.7 kB / 256.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.01887, allocations: 358.7 kB / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.01887, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01887, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.01888, allocations: 4 kB / 257.2 MB, free: 13.36 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.001074/0.01996, allocations: 0.7605 MB / 258 MB, free: 12.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.02, allocations: 15.98 kB / 258 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.02012, allocations: 68.66 kB / 258.1 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.02047, allocations: 259.3 kB / 258.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.02049, allocations: 25.03 kB / 258.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.02055, allocations: 40.38 kB / 258.4 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.02108, allocations: 390.7 kB / 258.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.02109, allocations: 192 / 258.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.02112, allocations: 12.38 kB / 258.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.02113, allocations: 15.92 kB / 258.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.0244, allocations: 127.8 kB / 258.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.02626, allocations: 0.9921 MB / 259.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.02667, allocations: 206.6 kB / 260.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.02698, allocations: 160 kB / 260.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.02718, allocations: 64.17 kB / 260.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.02721, allocations: 41.62 kB / 260.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.02722, allocations: 0 / 260.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.003977/0.03119, allocations: 350.7 kB / 260.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.03124, allocations: 81.11 kB / 260.8 MB, free: 9.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.03152, allocations: 334.2 kB / 261.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.03155, allocations: 33.7 kB / 261.2 MB, free: 9.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.03168, allocations: 267 kB / 261.4 MB, free: 8.918 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.03176, allocations: 111.2 kB / 261.5 MB, free: 8.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.03187, allocations: 67.73 kB / 261.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.03201, allocations: 0.5118 MB / 262.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.03215, allocations: 60.72 kB / 262.2 MB, free: 8.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.03233, allocations: 184 kB / 262.4 MB, free: 7.922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.03264, allocations: 228.5 kB / 262.6 MB, free: 7.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.03264, allocations: 0 / 262.6 MB, free: 7.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005838/0.03323, allocations: 344.4 kB / 262.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003232/0.03646, allocations: 4 kB / 262.9 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.03648, allocations: 4 kB / 262.9 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.03681, allocations: 71.84 kB / 263 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.03705, allocations: 71.91 kB / 263.1 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.03868, allocations: 2.266 MB / 265.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.03886, allocations: 35.72 kB / 265.4 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.03889, allocations: 19.98 kB / 265.4 MB, free: 4.715 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.0001506/0.03904, allocations: 180.5 kB / 265.6 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.03911, allocations: 39.81 kB / 265.6 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.04262, allocations: 253.2 kB / 265.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.04262, allocations: 4 kB / 265.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.04262, allocations: 3.938 kB / 265.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.04263, allocations: 0 / 265.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.04297, allocations: 272.3 kB / 266.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.04298, allocations: 0 / 266.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.04319, allocations: 51.91 kB / 266.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.04335, allocations: 59.62 kB / 266.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.04337, allocations: 8 kB / 266.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003529/0.04372, allocations: 0.8429 MB / 267.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.04372, allocations: 3.938 kB / 267.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.0442, allocations: 439.8 kB / 267.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.04428, allocations: 47.72 kB / 267.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.04431, allocations: 11.94 kB / 267.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.04443, allocations: 27.95 kB / 267.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.04448, allocations: 15.97 kB / 267.6 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.04449, allocations: 11.98 kB / 267.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.04462, allocations: 223 kB / 267.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04462, allocations: 0 / 267.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004033/0.04502, allocations: 115.8 kB / 268 MB, free: 2.027 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.0002376/0.04526, allocations: 135.1 kB / 268.1 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.04595, allocations: 384.5 kB / 268.5 MB, free: 1.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.04595, allocations: 0 / 268.5 MB, free: 1.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.0462, allocations: 111.4 kB / 268.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.04657, allocations: 41.36 kB / 268.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.04835, allocations: 0.7487 MB / 269.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.04843, allocations: 100.6 kB / 269.5 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.04856, allocations: 30.97 kB / 269.5 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.04864, allocations: 32.48 kB / 269.5 MB, free: 388 kB / 250.7 MB Notification: Performance of SimCode: time 1.302e-06/0.04864, allocations: 3.938 kB / 269.5 MB, free: 384 kB / 250.7 MB Notification: Performance of Templates: time 0.007095/0.05573, allocations: 3.813 MB / 273.3 MB, free: 12.6 MB / 266.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: 2.818345097824931]