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.001885/0.001885, allocations: 92.62 kB / 20.96 MB, free: 3.469 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.001928/0.001928, allocations: 149.4 kB / 24.26 MB, free: 180 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.445/1.445, allocations: 173.4 MB / 200.8 MB, free: 9.277 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 2.214e-06/2.214e-06, allocations: 0 / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.162e-05, allocations: 6.312 kB / 267.4 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.006753/0.006784, allocations: 2.756 MB / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.009061, allocations: 0.6934 MB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.009277, allocations: 7.938 kB / 270.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.009537, allocations: 47.56 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.009912, allocations: 115 kB / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.01038, allocations: 123.7 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008011/0.01119, allocations: 430.2 kB / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.0115, allocations: 83.66 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.01202, allocations: 235.5 kB / 271.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.01235, allocations: 131.6 kB / 272 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.01246, allocations: 40 kB / 272 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.01256, allocations: 40 kB / 272 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.01269, allocations: 75.75 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.01294, allocations: 127.7 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.01383, allocations: 462.6 kB / 272.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01384, allocations: 0 / 272.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01384, allocations: 0 / 272.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.01384, allocations: 0 / 272.7 MB, free: 1.301 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.002058/0.0159, allocations: 0.6168 MB / 273.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.01595, allocations: 12.03 kB / 273.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.01614, allocations: 52.75 kB / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.01681, allocations: 245.2 kB / 273.6 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.01685, allocations: 20.88 kB / 273.6 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.01693, allocations: 24.38 kB / 273.7 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.01828, allocations: 378.6 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01829, allocations: 192 / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.01835, allocations: 16.36 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.01837, allocations: 7.938 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.01981, allocations: 285.8 kB / 274.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.02298, allocations: 0.9844 MB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.02442, allocations: 238.5 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.025, allocations: 104.8 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.02503, allocations: 7.984 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008215/0.02585, allocations: 229.3 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.02586, allocations: 0 / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003981/0.02984, allocations: 0.5879 MB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.02997, allocations: 114.8 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.03055, allocations: 281.7 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.0306, allocations: 29.7 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.03087, allocations: 204 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.03096, allocations: 59.56 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.03113, allocations: 45.94 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002817/0.03141, allocations: 338.8 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.03206, allocations: 133.9 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008384/0.0329, allocations: 298.4 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.03419, allocations: 319.5 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.0342, allocations: 4 kB / 278.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002292/0.03649, allocations: 0.5053 MB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/0.03656, allocations: 33.7 kB / 278.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.03658, allocations: 8.062 kB / 278.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.03774, allocations: 148.7 kB / 278.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.03811, allocations: 47.97 kB / 279 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.04336, allocations: 1.934 MB / 280.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.04397, allocations: 51.81 kB / 281 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.04401, allocations: 8 kB / 281 MB, free: 8.488 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.0003077/0.04432, allocations: 157.2 kB / 281.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.04442, allocations: 35.84 kB / 281.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.0445, allocations: 25.78 kB / 281.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0445, allocations: 0 / 281.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.0445, allocations: 0 / 281.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.04451, allocations: 3.984 kB / 281.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.04496, allocations: 217.2 kB / 281.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.04496, allocations: 0 / 281.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.04518, allocations: 15.98 kB / 281.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009862/0.04617, allocations: 148.7 kB / 281.6 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.04619, allocations: 0 / 281.6 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.05064, allocations: 1.856 MB / 283.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.05065, allocations: 3.938 kB / 283.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.05252, allocations: 365.6 kB / 283.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.05261, allocations: 23.84 kB / 283.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.05266, allocations: 7.938 kB / 283.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.05308, allocations: 31.97 kB / 283.9 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.05319, allocations: 23.97 kB / 283.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.05322, allocations: 11.92 kB / 283.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003499/0.05357, allocations: 189.2 kB / 284.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.05357, allocations: 0 / 284.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008149/0.05438, allocations: 75.89 kB / 284.1 MB, free: 5.16 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.0002136/0.0546, allocations: 99.25 kB / 284.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.05688, allocations: 0.5189 MB / 284.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.05688, allocations: 0 / 284.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.05776, allocations: 250.8 kB / 285 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.05832, allocations: 48.48 kB / 285.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.06341, allocations: 0.9149 MB / 286 MB, free: 3.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.06365, allocations: 150.9 kB / 286.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.06385, allocations: 34.25 kB / 286.2 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.06394, allocations: 20.5 kB / 286.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.06394, allocations: 4 kB / 286.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of Templates: time 0.1247/0.1887, allocations: 4.067 MB / 290.2 MB, free: 32.34 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=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.678634034004062]