Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 72.45 kB / 20.68 MB, free: 1.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 145.8 kB / 23.94 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 1.281 kB / 319 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.911e-05, allocations: 2.281 kB / 319 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003277/0.003306, allocations: 2.731 MB / 321.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.004446, allocations: 0.7016 MB / 322.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.004588, allocations: 8.25 kB / 322.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.00474, allocations: 47.83 kB / 322.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.004921, allocations: 110.8 kB / 322.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.005213, allocations: 120.3 kB / 322.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.005644, allocations: 428.6 kB / 323.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.005866, allocations: 89.89 kB / 323.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.006157, allocations: 229.5 kB / 323.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.006365, allocations: 128.1 kB / 323.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.509e-05/0.006451, allocations: 40.03 kB / 323.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.006526, allocations: 40.41 kB / 323.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.006629, allocations: 82.19 kB / 323.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.006796, allocations: 124.8 kB / 323.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.007395, allocations: 468.3 kB / 324.3 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.007401, allocations: 5.125 kB / 324.3 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007403, allocations: 0 / 324.3 MB, free: 288 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.00741, allocations: 4 kB / 324.3 MB, free: 284 kB / 286.1 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.001466/0.008876, allocations: 0.5993 MB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.008914, allocations: 8.5 kB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.009005, allocations: 39.14 kB / 324.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.009534, allocations: 247.3 kB / 325.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.009564, allocations: 23.11 kB / 325.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.009613, allocations: 26.7 kB / 325.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.0105, allocations: 375.6 kB / 325.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.01051, allocations: 5.562 kB / 325.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.01055, allocations: 11.12 kB / 325.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01056, allocations: 9.438 kB / 325.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.01143, allocations: 277.7 kB / 325.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.01334, allocations: 0.9906 MB / 326.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/0.01428, allocations: 242.6 kB / 327.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.01467, allocations: 99.67 kB / 327.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.01469, allocations: 2.156 kB / 327.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.01524, allocations: 232.9 kB / 327.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.01524, allocations: 0 / 327.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002547/0.01779, allocations: 0.5919 MB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.01788, allocations: 106.7 kB / 328.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.01823, allocations: 283.9 kB / 328.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.01826, allocations: 28.17 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.01843, allocations: 207.5 kB / 328.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.01848, allocations: 44.23 kB / 328.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.01858, allocations: 49.27 kB / 328.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01874, allocations: 335.3 kB / 329.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.01914, allocations: 143.5 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.01964, allocations: 288.4 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.02043, allocations: 335 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02043, allocations: 1.156 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001363/0.02179, allocations: 0.4943 MB / 330.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.02184, allocations: 41.91 kB / 330.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.02185, allocations: 2.344 kB / 330.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.02223, allocations: 85.78 kB / 330.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.02246, allocations: 53.2 kB / 330.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.02568, allocations: 1.923 MB / 332.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.02608, allocations: 55.53 kB / 332.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.02611, allocations: 9.766 kB / 332.5 MB, free: 10.89 MB / 302.1 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 0.0002213/0.02633, allocations: 152.1 kB / 332.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.02638, allocations: 26.67 kB / 332.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.02643, allocations: 26.8 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02643, allocations: 1.656 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.02644, allocations: 1.719 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.02644, allocations: 4.516 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.02672, allocations: 215.2 kB / 332.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02672, allocations: 1.094 kB / 332.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.02687, allocations: 26.28 kB / 332.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.02717, allocations: 89.14 kB / 333 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.02719, allocations: 1.562 kB / 333 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.02986, allocations: 1.848 MB / 334.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.02986, allocations: 3.938 kB / 334.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.03103, allocations: 368.5 kB / 335.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.03108, allocations: 21.52 kB / 335.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.03112, allocations: 6.25 kB / 335.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.03138, allocations: 31.67 kB / 335.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.03146, allocations: 26.94 kB / 335.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.03147, allocations: 2.375 kB / 335.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.0317, allocations: 194.9 kB / 335.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0317, allocations: 1.125 kB / 335.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.03216, allocations: 75.17 kB / 335.6 MB, free: 8.414 MB / 302.1 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.0001432/0.0323, allocations: 104.8 kB / 335.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.03375, allocations: 0.5202 MB / 336.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03376, allocations: 1.375 kB / 336.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.0343, allocations: 232.4 kB / 336.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.03464, allocations: 48.11 kB / 336.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.03785, allocations: 0.9074 MB / 337.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.03802, allocations: 148.5 kB / 337.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.03813, allocations: 22.67 kB / 337.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.03819, allocations: 23.5 kB / 337.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.03819, allocations: 0 / 337.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Templates: time 0.00899/0.04718, allocations: 4.083 MB / 341.6 MB, free: 4.266 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.513991866260767]