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.001251/0.001251, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002241/0.003492, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001459/0.001459, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002271/0.003731, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9196/0.9196, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.176/1.096, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.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.363e-06/1.363e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.98e-05, allocations: 2.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002978/0.002997, allocations: 3.165 MB / 225 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004251, allocations: 1.01 MB / 226 MB, free: 11.95 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.004382, allocations: 4 kB / 226 MB, free: 11.95 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.00448, allocations: 59.36 kB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.004697, allocations: 134.8 kB / 226.2 MB, free: 11.75 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.004922, allocations: 151.5 kB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.005262, allocations: 497.7 kB / 226.8 MB, free: 11.12 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.005429, allocations: 100.3 kB / 226.9 MB, free: 11.02 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.005735, allocations: 322.5 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.005885, allocations: 155.5 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.00593, allocations: 40 kB / 227.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.006076, allocations: 75.95 kB / 227.5 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.006121, allocations: 67.75 kB / 227.6 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.006214, allocations: 119.8 kB / 227.7 MB, free: 10.25 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.006526, allocations: 326.8 kB / 228 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.006541, allocations: 3.938 kB / 228 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006542, allocations: 4 kB / 228 MB, free: 9.926 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.006557, allocations: 0 / 228 MB, free: 9.926 MB / 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.0008544/0.007411, allocations: 0.7175 MB / 228.8 MB, free: 9.184 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.007444, allocations: 12.03 kB / 228.8 MB, free: 9.172 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.007515, allocations: 56.89 kB / 228.8 MB, free: 9.117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.007757, allocations: 216.5 kB / 229 MB, free: 8.875 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.007778, allocations: 29.03 kB / 229.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.007828, allocations: 36.38 kB / 229.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.008177, allocations: 365 kB / 229.5 MB, free: 8.414 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.008187, allocations: 192 / 229.5 MB, free: 8.414 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.008206, allocations: 16.38 kB / 229.5 MB, free: 8.398 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.008214, allocations: 11.94 kB / 229.5 MB, free: 8.387 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.008346, allocations: 84.48 kB / 229.6 MB, free: 8.305 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.009315, allocations: 0.8191 MB / 230.4 MB, free: 7.438 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.009565, allocations: 159.2 kB / 230.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.009752, allocations: 141.2 kB / 230.7 MB, free: 7.133 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.009911, allocations: 68.16 kB / 230.7 MB, free: 7.066 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.009938, allocations: 46.73 kB / 230.8 MB, free: 7.012 MB / 234.7 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.00994, allocations: 0 / 230.8 MB, free: 7.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005412/0.01048, allocations: 264.1 kB / 231 MB, free: 6.746 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01051, allocations: 59.39 kB / 231.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.01067, allocations: 274.9 kB / 231.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01069, allocations: 29.7 kB / 231.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.01077, allocations: 196.8 kB / 231.6 MB, free: 6.168 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.01082, allocations: 111 kB / 231.7 MB, free: 6.059 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.01088, allocations: 69.98 kB / 231.8 MB, free: 5.984 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.01097, allocations: 342.8 kB / 232.1 MB, free: 5.641 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.01103, allocations: 36.73 kB / 232.1 MB, free: 5.605 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.01112, allocations: 143.7 kB / 232.3 MB, free: 5.43 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.01127, allocations: 175 kB / 232.5 MB, free: 5.23 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01127, allocations: 3.984 kB / 232.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002687/0.01154, allocations: 246 kB / 232.7 MB, free: 4.977 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01156, allocations: 4 kB / 232.7 MB, free: 4.973 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01156, allocations: 4 kB / 232.7 MB, free: 4.969 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.01174, allocations: 64.89 kB / 232.8 MB, free: 4.902 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.01197, allocations: 99.8 kB / 232.9 MB, free: 4.805 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/0.01296, allocations: 1.551 MB / 234.4 MB, free: 3.168 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.01307, allocations: 31.73 kB / 234.4 MB, free: 3.137 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01308, allocations: 12 kB / 234.5 MB, free: 3.125 MB / 234.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.458e-05/0.01316, allocations: 121.8 kB / 234.6 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.0132, allocations: 31.97 kB / 234.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.01342, allocations: 206.3 kB / 234.8 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01342, allocations: 0 / 234.8 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.01342, allocations: 0 / 234.8 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01343, allocations: 7.984 kB / 234.8 MB, free: 2.75 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.0136, allocations: 185.6 kB / 235 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01361, allocations: 4 kB / 235 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.01382, allocations: 79.8 kB / 235.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.01387, allocations: 35.73 kB / 235.1 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.014, allocations: 125.9 kB / 235.2 MB, free: 2.289 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.01401, allocations: 15.98 kB / 235.3 MB, free: 2.273 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002227/0.01424, allocations: 0.5524 MB / 235.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01424, allocations: 3.938 kB / 235.8 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.01449, allocations: 316.7 kB / 236.1 MB, free: 1.363 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.01452, allocations: 11.94 kB / 236.1 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.01462, allocations: 15.98 kB / 236.1 MB, free: 1.336 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.01465, allocations: 11.97 kB / 236.2 MB, free: 1.324 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01466, allocations: 8 kB / 236.2 MB, free: 1.316 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.01473, allocations: 116.5 kB / 236.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01473, allocations: 0 / 236.3 MB, free: 1.199 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01499, allocations: 115.8 kB / 236.4 MB, free: 1.086 MB / 234.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.0001587/0.01514, allocations: 112.3 kB / 236.5 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.0155, allocations: 298.3 kB / 236.8 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.01551, allocations: 8 kB / 236.8 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01562, allocations: 92.62 kB / 236.9 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01582, allocations: 81.03 kB / 237 MB, free: 492 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.01801, allocations: 0.6301 MB / 237.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.799e-05/0.01807, allocations: 96.61 kB / 237.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.28e-05/0.01816, allocations: 38.95 kB / 237.7 MB, free: 15.67 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01828, allocations: 99.34 kB / 237.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01828, allocations: 0 / 237.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of Templates: time 0.005901/0.02418, allocations: 4.129 MB / 242 MB, free: 11.46 MB / 250.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 -ignoreHideResult -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.741120965220034]