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.0009321/0.0009321, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009145/0.0009145, allocations: 168.1 kB / 25.7 MB, free: 8.434 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.9198/0.9198, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.202e-06/1.202e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.708e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003034/0.003051, allocations: 3.153 MB / 254.7 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004821, allocations: 1.01 MB / 255.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.005029, allocations: 11.94 kB / 255.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.005222, allocations: 55.42 kB / 255.8 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.005609, allocations: 134.8 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.00597, allocations: 147.6 kB / 256.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.006344, allocations: 0.4898 MB / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.006526, allocations: 108.1 kB / 256.7 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.006863, allocations: 275.4 kB / 257 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.007054, allocations: 155.5 kB / 257.1 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.007102, allocations: 40 kB / 257.1 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.007276, allocations: 83.89 kB / 257.2 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.007353, allocations: 91.66 kB / 257.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.007481, allocations: 147.7 kB / 257.5 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.007868, allocations: 354.7 kB / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.00787, allocations: 0 / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00787, allocations: 0 / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.007878, allocations: 7.938 kB / 257.8 MB, free: 0.9414 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.00072/0.008598, allocations: 0.6358 MB / 258.4 MB, free: 288 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.008634, allocations: 11.98 kB / 258.5 MB, free: 276 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.008703, allocations: 60.89 kB / 258.5 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.008949, allocations: 220.7 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.008968, allocations: 21.03 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.009012, allocations: 36.38 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.009345, allocations: 369 kB / 259.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.009356, allocations: 4.125 kB / 259.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.009374, allocations: 16.38 kB / 259.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.009384, allocations: 11.94 kB / 259.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.009495, allocations: 84.55 kB / 259.3 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.01047, allocations: 0.8152 MB / 260.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.01071, allocations: 147.2 kB / 260.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.01092, allocations: 149.2 kB / 260.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.01106, allocations: 68.16 kB / 260.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.01108, allocations: 34.8 kB / 260.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.432e-06/0.01109, allocations: 0 / 260.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004938/0.01158, allocations: 272.1 kB / 260.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.01161, allocations: 81.11 kB / 260.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01179, allocations: 270.9 kB / 261.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.01181, allocations: 29.7 kB / 261.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.01189, allocations: 200.8 kB / 261.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.01194, allocations: 111 kB / 261.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01201, allocations: 70.03 kB / 261.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.01211, allocations: 346.7 kB / 261.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.01217, allocations: 36.72 kB / 261.9 MB, free: 12.67 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.01227, allocations: 139.7 kB / 262 MB, free: 12.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01243, allocations: 183 kB / 262.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01244, allocations: 0 / 262.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002897/0.01273, allocations: 242 kB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01274, allocations: 4 kB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01275, allocations: 4 kB / 262.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.01294, allocations: 72.72 kB / 262.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.01317, allocations: 87.88 kB / 262.6 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.01417, allocations: 1.555 MB / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01428, allocations: 35.73 kB / 264.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.0143, allocations: 8 kB / 264.2 MB, free: 10.19 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 9.816e-05/0.0144, allocations: 129.8 kB / 264.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.01444, allocations: 27.97 kB / 264.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.01467, allocations: 198.3 kB / 264.5 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01467, allocations: 8.031 kB / 264.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-07/0.01467, allocations: 0 / 264.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01468, allocations: 7.969 kB / 264.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.01487, allocations: 185.6 kB / 264.7 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01487, allocations: 0 / 264.7 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.01507, allocations: 75.81 kB / 264.8 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.01519, allocations: 48.88 kB / 264.8 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01521, allocations: 11.98 kB / 264.8 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002286/0.01544, allocations: 0.5524 MB / 265.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01544, allocations: 3.938 kB / 265.4 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.01572, allocations: 320.4 kB / 265.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.01578, allocations: 35.73 kB / 265.8 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.01581, allocations: 15.86 kB / 265.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.01591, allocations: 20.03 kB / 265.8 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01595, allocations: 19.95 kB / 265.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01596, allocations: 4 kB / 265.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.123e-05/0.01603, allocations: 96.64 kB / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01603, allocations: 0 / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01629, allocations: 119.7 kB / 266 MB, free: 8.254 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.0001289/0.01642, allocations: 116.2 kB / 266.1 MB, free: 8.129 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.01677, allocations: 294.8 kB / 266.4 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.01678, allocations: 4 kB / 266.4 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01689, allocations: 100.6 kB / 266.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.01705, allocations: 32.64 kB / 266.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.01793, allocations: 0.6812 MB / 267.2 MB, free: 6.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.856e-05/0.01799, allocations: 100.6 kB / 267.3 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.84e-05/0.01808, allocations: 38.89 kB / 267.4 MB, free: 6.828 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.01821, allocations: 103.3 kB / 267.5 MB, free: 6.727 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01821, allocations: 0 / 267.5 MB, free: 6.727 MB / 250.7 MB Notification: Performance of Templates: time 0.006298/0.02451, allocations: 3.976 MB / 271.5 MB, free: 2.789 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 -s gbode -gbm=radauIIA3 -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.743795420974493]