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.0008495/0.0008495, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0008761/0.0008761, allocations: 157.5 kB / 25.45 MB, free: 9.348 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.8706/0.8706, allocations: 158.6 MB / 187.2 MB, free: 3.039 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.433e-06/1.433e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.576e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002938/0.002964, allocations: 2.908 MB / 302.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004125, allocations: 0.9438 MB / 303.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.004248, allocations: 7.938 kB / 303.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.004382, allocations: 63.34 kB / 303.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.004641, allocations: 126.9 kB / 303.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.004882, allocations: 163.5 kB / 303.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.005333, allocations: 493.7 kB / 304.4 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.005512, allocations: 95.45 kB / 304.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.005756, allocations: 279.4 kB / 304.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.005897, allocations: 155.5 kB / 304.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.005936, allocations: 40 kB / 304.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.006048, allocations: 67.97 kB / 305 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.006103, allocations: 99.58 kB / 305.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.006196, allocations: 151.7 kB / 305.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.006585, allocations: 0.51 MB / 305.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.006588, allocations: 0 / 305.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.00659, allocations: 0 / 305.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.006596, allocations: 3.984 kB / 305.8 MB, free: 0.8008 MB / 282.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.0008255/0.007422, allocations: 0.6645 MB / 306.4 MB, free: 108 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.007459, allocations: 15.98 kB / 306.5 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.007524, allocations: 48.66 kB / 306.5 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.007845, allocations: 248.5 kB / 306.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.007864, allocations: 32.91 kB / 306.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.007909, allocations: 36.38 kB / 306.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.00836, allocations: 444.4 kB / 307.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.008371, allocations: 192 / 307.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.008395, allocations: 16.31 kB / 307.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.008407, allocations: 11.94 kB / 307.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.008699, allocations: 230.5 kB / 307.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01014, allocations: 0.985 MB / 308.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.01054, allocations: 251.5 kB / 308.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.01083, allocations: 193.2 kB / 308.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.01103, allocations: 68.16 kB / 309 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01105, allocations: 46.73 kB / 309 MB, free: 13.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.01105, allocations: 0 / 309 MB, free: 13.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007791/0.01183, allocations: 440.6 kB / 309.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.01187, allocations: 81.11 kB / 309.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.01207, allocations: 300.5 kB / 309.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.0121, allocations: 33.7 kB / 309.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.01219, allocations: 220.4 kB / 310.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.01224, allocations: 103.1 kB / 310.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.01231, allocations: 70.06 kB / 310.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.0124, allocations: 342.8 kB / 310.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.01253, allocations: 96.7 kB / 310.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.0127, allocations: 211.7 kB / 310.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.01299, allocations: 283 kB / 311.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.013, allocations: 4.031 kB / 311.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004708/0.01347, allocations: 413.6 kB / 311.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01348, allocations: 12 kB / 311.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01349, allocations: 0 / 311.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.01367, allocations: 68.75 kB / 311.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01383, allocations: 75.89 kB / 311.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.01503, allocations: 1.809 MB / 313.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.01515, allocations: 39.75 kB / 313.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.01517, allocations: 16 kB / 313.6 MB, free: 8.574 MB / 298.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.0001215/0.01529, allocations: 145.8 kB / 313.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.01533, allocations: 31.88 kB / 313.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.01574, allocations: 321.6 kB / 314.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01575, allocations: 0 / 314.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01575, allocations: 4 kB / 314.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01575, allocations: 3.984 kB / 314.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.016, allocations: 277 kB / 314.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.016, allocations: 0 / 314.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.01616, allocations: 55.89 kB / 314.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.0163, allocations: 64.81 kB / 314.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.01631, allocations: 4 kB / 314.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/0.01686, allocations: 0.5992 MB / 315.1 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01686, allocations: 4 kB / 315.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.01737, allocations: 0.5044 MB / 315.6 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.01744, allocations: 55.7 kB / 315.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.01747, allocations: 11.94 kB / 315.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.01758, allocations: 15.98 kB / 315.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.01761, allocations: 19.95 kB / 315.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.01763, allocations: 8 kB / 315.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.01775, allocations: 207.1 kB / 315.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01775, allocations: 4 kB / 315.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.01808, allocations: 119.7 kB / 316 MB, free: 6.051 MB / 298.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.0001992/0.01828, allocations: 131 kB / 316.1 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000573/0.01885, allocations: 386.3 kB / 316.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01885, allocations: 4.188 kB / 316.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.01903, allocations: 131.8 kB / 316.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01926, allocations: 36.77 kB / 316.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.02011, allocations: 0.7633 MB / 317.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02021, allocations: 190.5 kB / 317.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.02027, allocations: 32.5 kB / 317.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02027, allocations: 3.938 kB / 317.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of Templates: time 0.006594/0.02687, allocations: 5.438 MB / 323.1 MB, free: 14.88 MB / 314.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.3825294803828]