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.0009845/0.0009845, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001346/0.001346, allocations: 161.4 kB / 24.56 MB, free: 12 kB / 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.9979/0.9979, allocations: 177.1 MB / 205 MB, free: 5.617 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 3.777e-06/3.777e-06, allocations: 7.984 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.521e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002803/0.002818, allocations: 2.947 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003819, allocations: 0.7595 MB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.003932, allocations: 4 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.004063, allocations: 51.5 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.004209, allocations: 103.1 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.004459, allocations: 123.7 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.004792, allocations: 430.2 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.004945, allocations: 79.67 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.005146, allocations: 247.4 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.005293, allocations: 139.6 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.005338, allocations: 40 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.005376, allocations: 40 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.005428, allocations: 79.69 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.005527, allocations: 127.7 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.00577, allocations: 255.1 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005773, allocations: 4 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.005773, allocations: 0 / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005778, allocations: 0 / 278.4 MB, free: 12.06 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.0008182/0.006596, allocations: 0.6857 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.006629, allocations: 8.031 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.006718, allocations: 56.7 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.006985, allocations: 248 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.007005, allocations: 20.88 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.007034, allocations: 24.38 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.007431, allocations: 305 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.007441, allocations: 192 / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.007466, allocations: 12.38 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.007476, allocations: 7.938 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.007645, allocations: 106.9 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.008726, allocations: 1.033 MB / 280.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.008977, allocations: 115.2 kB / 281 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.009042, allocations: 43.61 kB / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.009061, allocations: 0 / 281.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.009242, allocations: 175.5 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.009243, allocations: 4 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007023/0.009945, allocations: 320.5 kB / 281.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.00999, allocations: 106.8 kB / 281.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.01018, allocations: 308.2 kB / 282 MB, free: 8.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.0102, allocations: 33.7 kB / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.0103, allocations: 250.7 kB / 282.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.01032, allocations: 43.64 kB / 282.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.01039, allocations: 63.53 kB / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.01049, allocations: 0.504 MB / 282.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.01057, allocations: 61.91 kB / 282.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.0107, allocations: 259.6 kB / 283.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.01088, allocations: 227.3 kB / 283.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01088, allocations: 0 / 283.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003724/0.01125, allocations: 336.3 kB / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.01128, allocations: 33.7 kB / 283.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01128, allocations: 4 kB / 283.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.01155, allocations: 87.67 kB / 283.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01165, allocations: 43.91 kB / 283.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.01289, allocations: 2.176 MB / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01302, allocations: 48.11 kB / 286.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01304, allocations: 12 kB / 286.1 MB, free: 3.766 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 9.117e-05/0.01313, allocations: 180.5 kB / 286.3 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.01316, allocations: 35.78 kB / 286.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.01319, allocations: 21.78 kB / 286.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01319, allocations: 4 kB / 286.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01319, allocations: 3.984 kB / 286.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01319, allocations: 0 / 286.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01334, allocations: 228.3 kB / 286.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01335, allocations: 0 / 286.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.01339, allocations: 15.98 kB / 286.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.01357, allocations: 79.58 kB / 286.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01358, allocations: 3.984 kB / 286.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009714/0.01455, allocations: 2.134 MB / 288.8 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01456, allocations: 3.938 kB / 288.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.01482, allocations: 211.8 kB / 289 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.01484, allocations: 35.78 kB / 289 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01486, allocations: 4 kB / 289 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.01495, allocations: 19.98 kB / 289.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.01501, allocations: 19.95 kB / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01501, allocations: 4 kB / 289.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.01513, allocations: 217.1 kB / 289.3 MB, free: 376 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01513, allocations: 4 kB / 289.3 MB, free: 372 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000261/0.01539, allocations: 79.84 kB / 289.4 MB, free: 292 kB / 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 7.979e-05/0.01547, allocations: 103.2 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.01593, allocations: 417.9 kB / 289.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01593, allocations: 0 / 289.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.01609, allocations: 241.3 kB / 290.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.0163, allocations: 52.22 kB / 290.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.01762, allocations: 0.6945 MB / 290.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.002e-05/0.01767, allocations: 88.17 kB / 291 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.044e-05/0.01774, allocations: 30.31 kB / 291 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.01779, allocations: 20.5 kB / 291 MB, free: 14.54 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01779, allocations: 0 / 291 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Templates: time 0.005793/0.02358, allocations: 4.387 MB / 295.4 MB, free: 10.21 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.7037142291665077]