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.0019/0.0019, allocations: 95.86 kB / 20.96 MB, free: 3.457 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.001932/0.001932, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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.509/1.509, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 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.283e-06/1.283e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.969e-05, allocations: 6.25 kB / 267.4 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004743/0.004772, allocations: 2.9 MB / 270.3 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.006188, allocations: 0.7051 MB / 271 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.006337, allocations: 7.938 kB / 271 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.006509, allocations: 55.5 kB / 271 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.006753, allocations: 111 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.007073, allocations: 123.7 kB / 271.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.007824, allocations: 426.2 kB / 271.7 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.008037, allocations: 87.66 kB / 271.8 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.00839, allocations: 239.5 kB / 272 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.008631, allocations: 131.6 kB / 272.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.008708, allocations: 44 kB / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.008784, allocations: 40 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.008879, allocations: 83.67 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.009053, allocations: 127.7 kB / 272.4 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.009656, allocations: 466.6 kB / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.009659, allocations: 0 / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00966, allocations: 0 / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.009666, allocations: 0 / 272.9 MB, free: 1.164 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.001345/0.01101, allocations: 0.7126 MB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01105, allocations: 12.03 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.01117, allocations: 52.75 kB / 273.6 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.0116, allocations: 252 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.01162, allocations: 16.88 kB / 273.9 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.01167, allocations: 28.38 kB / 273.9 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.01241, allocations: 376.3 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01242, allocations: 192 / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.01245, allocations: 8.375 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.01247, allocations: 11.92 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.01314, allocations: 241.9 kB / 274.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.01521, allocations: 1.162 MB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.0159, allocations: 215.1 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.01616, allocations: 87.64 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.01619, allocations: 0 / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/0.01668, allocations: 246.9 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.01668, allocations: 0 / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001829/0.01851, allocations: 456.8 kB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.0186, allocations: 110.8 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.01902, allocations: 372.2 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.01906, allocations: 33.7 kB / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.01929, allocations: 262.7 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.01935, allocations: 51.58 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.01948, allocations: 63.59 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003034/0.01978, allocations: 0.5235 MB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.02008, allocations: 109.9 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.02056, allocations: 324.8 kB / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.0216, allocations: 331.9 kB / 278.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02161, allocations: 4 kB / 278.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001099/0.02271, allocations: 464 kB / 279.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.02275, allocations: 33.7 kB / 279.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.02276, allocations: 4 kB / 279.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.02333, allocations: 115.6 kB / 279.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.02352, allocations: 39.97 kB / 279.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.02668, allocations: 2.43 MB / 281.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.02697, allocations: 39.83 kB / 282 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.027, allocations: 15.98 kB / 282 MB, free: 7.445 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 0.0002124/0.02721, allocations: 200.5 kB / 282.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.02727, allocations: 28.02 kB / 282.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.02733, allocations: 29.77 kB / 282.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.02734, allocations: 3.938 kB / 282.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.02734, allocations: 0 / 282.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.02734, allocations: 0 / 282.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.02769, allocations: 268.5 kB / 282.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.02769, allocations: 4 kB / 282.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.02779, allocations: 11.98 kB / 282.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.02825, allocations: 111.5 kB / 282.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.02827, allocations: 8 kB / 282.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.03109, allocations: 2.367 MB / 285 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.0311, allocations: 3.938 kB / 285 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.03199, allocations: 319.8 kB / 285.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.03205, allocations: 23.86 kB / 285.3 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.03208, allocations: 7.922 kB / 285.3 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.03229, allocations: 23.98 kB / 285.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.03237, allocations: 23.97 kB / 285.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.03238, allocations: 0 / 285.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.03266, allocations: 253.1 kB / 285.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03266, allocations: 0 / 285.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.0331, allocations: 79.84 kB / 285.7 MB, free: 3.512 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.0004313/0.03354, allocations: 103.2 kB / 285.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.03471, allocations: 0.5219 MB / 286.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03471, allocations: 0 / 286.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.03521, allocations: 293.9 kB / 286.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.03554, allocations: 52.47 kB / 286.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.0379, allocations: 0.7211 MB / 287.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.03805, allocations: 146.9 kB / 287.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.03817, allocations: 30.22 kB / 287.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.03824, allocations: 24.5 kB / 287.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03824, allocations: 0 / 287.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of Templates: time 0.009791/0.04803, allocations: 4.143 MB / 291.7 MB, free: 13.43 MB / 282.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","/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.573425070033409]