Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0009475/0.0009475, 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.001256/0.001256, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.9023/0.9023, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.44e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00309/0.003114, allocations: 2.923 MB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.004221, allocations: 0.7671 MB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.004352, allocations: 7.938 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.004487, allocations: 51.5 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.004647, allocations: 111.1 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004901, allocations: 115.8 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.005253, allocations: 426.2 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.005403, allocations: 94.22 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.00562, allocations: 239.5 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.005767, allocations: 135.6 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.00581, allocations: 40 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.005846, allocations: 40 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.0059, allocations: 87.67 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.005988, allocations: 127.7 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.006227, allocations: 263.1 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006229, allocations: 0 / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00623, allocations: 0 / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.006235, allocations: 0 / 278.9 MB, free: 11.85 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.0006542/0.006889, allocations: 0.5648 MB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.006919, allocations: 8.031 kB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.007016, allocations: 44.91 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.007236, allocations: 193.3 kB / 279.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.007252, allocations: 20.88 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.007281, allocations: 24.38 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.007571, allocations: 303.2 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.007579, allocations: 192 / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.007598, allocations: 12.38 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.007606, allocations: 7.938 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.007699, allocations: 63.47 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008258/0.008525, allocations: 0.7912 MB / 280.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.008695, allocations: 98.39 kB / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.008731, allocations: 28.86 kB / 281 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008748, allocations: 3.984 kB / 281 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.008891, allocations: 161.3 kB / 281.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.008893, allocations: 0 / 281.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005361/0.009429, allocations: 266.2 kB / 281.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.009471, allocations: 114.8 kB / 281.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.009605, allocations: 248.8 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.009624, allocations: 29.7 kB / 281.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.009696, allocations: 191.9 kB / 282 MB, free: 8.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.00972, allocations: 39.67 kB / 282.1 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.009777, allocations: 57.86 kB / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.009852, allocations: 330.8 kB / 282.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.0099, allocations: 53.92 kB / 282.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.631e-05/0.009996, allocations: 198.4 kB / 282.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.0102, allocations: 190.4 kB / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.0102, allocations: 0 / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002739/0.01048, allocations: 273.3 kB / 283.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.0105, allocations: 34.08 kB / 283.2 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.01051, allocations: 8.219 kB / 283.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.01073, allocations: 76.78 kB / 283.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.01082, allocations: 51.86 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.01173, allocations: 1.489 MB / 284.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01186, allocations: 47.77 kB / 284.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01187, allocations: 12 kB / 284.8 MB, free: 5.391 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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 8.494e-05/0.01196, allocations: 133.8 kB / 285 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.01198, allocations: 15.98 kB / 285 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.01201, allocations: 29.7 kB / 285 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01201, allocations: 4.031 kB / 285 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01201, allocations: 0 / 285 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01201, allocations: 0 / 285 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.01213, allocations: 149.7 kB / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01213, allocations: 0 / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.01217, allocations: 19.98 kB / 285.2 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.01233, allocations: 68.81 kB / 285.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01234, allocations: 3.984 kB / 285.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007233/0.01306, allocations: 1.442 MB / 286.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01306, allocations: 0 / 286.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01325, allocations: 162.3 kB / 286.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.01327, allocations: 19.8 kB / 286.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01329, allocations: 8 kB / 286.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.01337, allocations: 31.94 kB / 286.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.01341, allocations: 20 kB / 286.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.01342, allocations: 0 / 286.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.01348, allocations: 90.7 kB / 287 MB, free: 3.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01348, allocations: 0 / 287 MB, free: 3.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.01371, allocations: 83.84 kB / 287.1 MB, free: 2.988 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 9.897e-05/0.01381, allocations: 76.42 kB / 287.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.01416, allocations: 358.5 kB / 287.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.01417, allocations: 0 / 287.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.0143, allocations: 180 kB / 287.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.01446, allocations: 52.27 kB / 287.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01561, allocations: 0.6926 MB / 288.5 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01566, allocations: 88.17 kB / 288.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.01573, allocations: 22.3 kB / 288.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01584, allocations: 99.33 kB / 288.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01584, allocations: 4 kB / 288.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of Templates: time 0.006092/0.02194, allocations: 4.307 MB / 293 MB, free: 13.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.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.6491429740563035]