Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.0009517/0.0009517, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001117/0.001117, allocations: 169.9 kB / 24.92 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.966/0.966, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.353e-05, allocations: 2.312 kB / 273.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003281/0.003304, allocations: 2.972 MB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.004595, allocations: 0.7671 MB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.004755, allocations: 7.938 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.004926, allocations: 47.5 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.005104, allocations: 111.1 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.005393, allocations: 123.7 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.005759, allocations: 430.2 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.005911, allocations: 90.28 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.006157, allocations: 231.4 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.006323, allocations: 139.6 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.006373, allocations: 40 kB / 278.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.006411, allocations: 44 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.006462, allocations: 83.67 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.006549, allocations: 119.8 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.006798, allocations: 263.1 kB / 279 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.006802, allocations: 0 / 279 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006803, allocations: 0 / 279 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.006808, allocations: 3.938 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006635/0.007472, allocations: 0.561 MB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.007504, allocations: 8.031 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/0.007575, allocations: 44.91 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.007815, allocations: 201.1 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.007833, allocations: 20.88 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.007859, allocations: 24.38 kB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.008168, allocations: 291.3 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.008179, allocations: 4.125 kB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.008197, allocations: 12.38 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.008205, allocations: 7.938 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.008299, allocations: 63.47 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.009195, allocations: 0.799 MB / 281 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.009374, allocations: 94.45 kB / 281.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.009412, allocations: 36.84 kB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009428, allocations: 0 / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.009583, allocations: 161.2 kB / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.009585, allocations: 224 / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005383/0.01012, allocations: 262 kB / 281.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.01017, allocations: 118.7 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.01032, allocations: 236.9 kB / 281.9 MB, free: 8.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01034, allocations: 33.7 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.01042, allocations: 191.9 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.01045, allocations: 43.64 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.01051, allocations: 49.91 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.01059, allocations: 338.8 kB / 282.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.01064, allocations: 46.16 kB / 282.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01074, allocations: 198 kB / 282.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.01087, allocations: 173.6 kB / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01088, allocations: 0 / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000291/0.01117, allocations: 273.3 kB / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.0112, allocations: 33.7 kB / 283.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.0112, allocations: 4 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.01143, allocations: 69.16 kB / 283.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01153, allocations: 51.91 kB / 283.4 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009452/0.01247, allocations: 1.453 MB / 284.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01262, allocations: 55.78 kB / 284.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.01263, allocations: 8 kB / 284.9 MB, free: 5.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.01272, allocations: 121.5 kB / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.01274, allocations: 27.91 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.01277, allocations: 25.72 kB / 285 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01277, allocations: 0 / 285 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01278, allocations: 3.984 kB / 285 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01278, allocations: 0 / 285 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.0129, allocations: 149.7 kB / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0129, allocations: 0 / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.01295, allocations: 19.98 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.01312, allocations: 76.83 kB / 285.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01313, allocations: 8.062 kB / 285.3 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007371/0.01386, allocations: 1.288 MB / 286.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01386, allocations: 0 / 286.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.01408, allocations: 161.8 kB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.0141, allocations: 23.84 kB / 286.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01412, allocations: 0 / 286.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.0142, allocations: 23.98 kB / 286.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.01426, allocations: 23.89 kB / 286.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.01427, allocations: 4 kB / 286.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.01434, allocations: 78.78 kB / 286.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01434, allocations: 4 kB / 286.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.01458, allocations: 83.77 kB / 287 MB, free: 3.098 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.01468, allocations: 92.34 kB / 287.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.01499, allocations: 303.5 kB / 287.4 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.015, allocations: 4.688 kB / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01513, allocations: 167.4 kB / 287.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.0153, allocations: 48.52 kB / 287.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.01602, allocations: 449.2 kB / 288 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.01607, allocations: 88.17 kB / 288.1 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.312e-05/0.01614, allocations: 26.28 kB / 288.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.01626, allocations: 103.3 kB / 288.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01626, allocations: 3.938 kB / 288.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of Templates: time 0.006249/0.02251, allocations: 4.309 MB / 292.5 MB, free: 13.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.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.6016364810056984]