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.001034/0.001034, allocations: 78.28 kB / 21.42 MB, free: 3.082 MB / 18.57 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.001593/0.001593, allocations: 151 kB / 24.81 MB, free: 9.289 MB / 18.57 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.024/1.024, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.791e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002975/0.003003, allocations: 2.915 MB / 271.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004222, allocations: 0.7089 MB / 272.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.004385, allocations: 7.938 kB / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.004527, allocations: 47.56 kB / 272.1 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.004693, allocations: 107.1 kB / 272.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.004968, allocations: 127.8 kB / 272.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.005531, allocations: 426.2 kB / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.005697, allocations: 87.66 kB / 272.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.005936, allocations: 235.4 kB / 273.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006083, allocations: 139.6 kB / 273.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.006128, allocations: 40 kB / 273.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.006171, allocations: 40 kB / 273.3 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.006222, allocations: 75.75 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.006316, allocations: 127.7 kB / 273.5 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.006566, allocations: 263.1 kB / 273.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006568, allocations: 0 / 273.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006569, allocations: 4 kB / 273.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.006574, allocations: 0 / 273.8 MB, free: 0.8281 MB / 250.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.0007484/0.007322, allocations: 0.6855 MB / 274.4 MB, free: 100 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.007358, allocations: 8.031 kB / 274.5 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.007426, allocations: 60.73 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.007673, allocations: 240 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.007689, allocations: 16.88 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.007715, allocations: 28.38 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.008022, allocations: 289 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.008031, allocations: 192 / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.008051, allocations: 12.36 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.008059, allocations: 15.88 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.008165, allocations: 79.44 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.009157, allocations: 1.033 MB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.009337, allocations: 107.1 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.009376, allocations: 31.66 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.009398, allocations: 4 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.009546, allocations: 179.4 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.009547, allocations: 0 / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005901/0.01014, allocations: 300.5 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.01018, allocations: 110.8 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.01034, allocations: 304.3 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.01037, allocations: 29.7 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01047, allocations: 258.6 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.0105, allocations: 47.64 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.01056, allocations: 59.56 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01069, allocations: 0.504 MB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.01074, allocations: 53.84 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.01086, allocations: 256.8 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.01102, allocations: 220.3 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01102, allocations: 0 / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003373/0.01136, allocations: 316.2 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.01139, allocations: 33.7 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.01139, allocations: 4 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/0.01162, allocations: 83.8 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.01171, allocations: 47.91 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.01307, allocations: 2.145 MB / 281.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.01321, allocations: 47.92 kB / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.01322, allocations: 16 kB / 281.3 MB, free: 8.664 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.251e-05/0.01332, allocations: 180 kB / 281.5 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.01334, allocations: 31.8 kB / 281.5 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.01337, allocations: 25.7 kB / 281.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01337, allocations: 4 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01337, allocations: 0 / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01338, allocations: 0 / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01351, allocations: 177.1 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01351, allocations: 8 kB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.01355, allocations: 12 kB / 281.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.01372, allocations: 75.61 kB / 281.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01373, allocations: 7.984 kB / 281.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009297/0.01466, allocations: 2.11 MB / 283.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01466, allocations: 0 / 283.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.01488, allocations: 211.8 kB / 284.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.01491, allocations: 19.86 kB / 284.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01493, allocations: 7.938 kB / 284.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.01501, allocations: 23.97 kB / 284.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.01505, allocations: 19.97 kB / 284.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01506, allocations: 0 / 284.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.05e-05/0.01515, allocations: 209.1 kB / 284.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01515, allocations: 3.938 kB / 284.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000262/0.01541, allocations: 79.84 kB / 284.5 MB, free: 5.305 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.143e-05/0.0155, allocations: 107.1 kB / 284.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.01589, allocations: 410.5 kB / 285 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.01589, allocations: 0 / 285 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.01603, allocations: 237.3 kB / 285.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.01623, allocations: 41.09 kB / 285.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.01743, allocations: 0.6823 MB / 286 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.01747, allocations: 84.31 kB / 286 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.01755, allocations: 26.33 kB / 286.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.01768, allocations: 126.2 kB / 286.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01768, allocations: 0 / 286.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Templates: time 0.1031/0.1208, allocations: 4.406 MB / 290.6 MB, free: 29.89 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",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.834971650969237]