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.001829/0.001829, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001924/0.001924, allocations: 170.5 kB / 25.02 MB, free: 8.941 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 1.407/1.407, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.013e-06/2.013e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/3.816e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005413/0.005452, allocations: 2.923 MB / 253.3 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.008092, allocations: 0.9437 MB / 254.2 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/0.008507, allocations: 8 kB / 254.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.008856, allocations: 63.36 kB / 254.3 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.009551, allocations: 130.8 kB / 254.4 MB, free: 3.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.01019, allocations: 151.5 kB / 254.6 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.0112, allocations: 0.4976 MB / 255.1 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.01151, allocations: 91.48 kB / 255.2 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007816/0.01229, allocations: 287.4 kB / 255.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.01299, allocations: 151.5 kB / 255.6 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.01311, allocations: 40 kB / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.01341, allocations: 71.97 kB / 255.7 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.01356, allocations: 95.59 kB / 255.8 MB, free: 2.359 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.01391, allocations: 143.7 kB / 255.9 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.01485, allocations: 0.5139 MB / 256.4 MB, free: 1.703 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01485, allocations: 0 / 256.4 MB, free: 1.703 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01485, allocations: 0 / 256.4 MB, free: 1.703 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.01487, allocations: 7.938 kB / 256.5 MB, free: 1.695 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.001901/0.01678, allocations: 0.6568 MB / 257.1 MB, free: 1.004 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.01683, allocations: 11.98 kB / 257.1 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.01704, allocations: 76.66 kB / 257.2 MB, free: 0.918 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.01775, allocations: 252.5 kB / 257.4 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.01779, allocations: 25.03 kB / 257.5 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.01788, allocations: 36.38 kB / 257.5 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.01884, allocations: 444.4 kB / 257.9 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01886, allocations: 192 / 257.9 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.0189, allocations: 16.38 kB / 258 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.01892, allocations: 11.94 kB / 258 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.0196, allocations: 226.5 kB / 258.2 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.02216, allocations: 1.008 MB / 259.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.02295, allocations: 239.6 kB / 259.4 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.02355, allocations: 193.2 kB / 259.6 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.02394, allocations: 76.16 kB / 259.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.02398, allocations: 34.8 kB / 259.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.02398, allocations: 0 / 259.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.001619/0.0256, allocations: 455.9 kB / 260.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.02569, allocations: 77.11 kB / 260.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.02613, allocations: 300.5 kB / 260.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.02618, allocations: 29.7 kB / 260.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.0264, allocations: 220.4 kB / 260.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.02654, allocations: 107.1 kB / 260.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.02668, allocations: 70.06 kB / 261 MB, free: 12.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.02689, allocations: 342.8 kB / 261.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.02717, allocations: 104.7 kB / 261.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.02753, allocations: 199.7 kB / 261.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.02814, allocations: 291.1 kB / 261.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02814, allocations: 0 / 261.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001028/0.02917, allocations: 433.6 kB / 262.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.02919, allocations: 8 kB / 262.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.0292, allocations: 4 kB / 262.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.02961, allocations: 76.75 kB / 262.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.02998, allocations: 75.89 kB / 262.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.03276, allocations: 1.817 MB / 264.3 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.03306, allocations: 35.8 kB / 264.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.0331, allocations: 19.98 kB / 264.3 MB, free: 9.402 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.0002303/0.03333, allocations: 153.7 kB / 264.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.03345, allocations: 35.81 kB / 264.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008574/0.0343, allocations: 314.3 kB / 264.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.03431, allocations: 4 kB / 264.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.03431, allocations: 4 kB / 264.8 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.03432, allocations: 3.984 kB / 264.8 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.03483, allocations: 277 kB / 265.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.03483, allocations: 0 / 265.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.03521, allocations: 55.95 kB / 265.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.03545, allocations: 56.81 kB / 265.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.03549, allocations: 11.98 kB / 265.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006069/0.03609, allocations: 0.6109 MB / 265.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.03609, allocations: 0 / 265.8 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.03723, allocations: 0.5125 MB / 266.4 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.03738, allocations: 51.72 kB / 266.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.03744, allocations: 7.938 kB / 266.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.03772, allocations: 24.05 kB / 266.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.03779, allocations: 15.95 kB / 266.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.03782, allocations: 12 kB / 266.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002549/0.03807, allocations: 203.1 kB / 266.7 MB, free: 6.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03807, allocations: 0 / 266.7 MB, free: 6.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005678/0.03864, allocations: 119.8 kB / 266.8 MB, free: 6.863 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.0002678/0.03891, allocations: 127 kB / 266.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009973/0.0399, allocations: 392.8 kB / 267.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03991, allocations: 0 / 267.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.04032, allocations: 127.8 kB / 267.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.04071, allocations: 53.23 kB / 267.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.04228, allocations: 0.7502 MB / 268.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.04251, allocations: 190.4 kB / 268.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.04267, allocations: 34.95 kB / 268.4 MB, free: 5.137 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.04276, allocations: 28.5 kB / 268.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04276, allocations: 0 / 268.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of Templates: time 0.01075/0.05351, allocations: 3.628 MB / 272.1 MB, free: 1.523 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.540473792003468]