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.001066/0.001066, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001147/0.001147, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.656 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 2.584e-06/2.584e-06, allocations: 0 / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.025e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004739/0.00477, allocations: 2.95 MB / 276.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.006546, allocations: 0.7478 MB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.006787, allocations: 4 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.00699, allocations: 51.5 kB / 276.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.007279, allocations: 111.1 kB / 277 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.007663, allocations: 119.8 kB / 277.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.008249, allocations: 430.2 kB / 277.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.008495, allocations: 91.59 kB / 277.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.008895, allocations: 235.4 kB / 277.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.009165, allocations: 135.6 kB / 278 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.009246, allocations: 40 kB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.009306, allocations: 40 kB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.009381, allocations: 87.67 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.009543, allocations: 119.7 kB / 278.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.00995, allocations: 259.1 kB / 278.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.009954, allocations: 0 / 278.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.009956, allocations: 0 / 278.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.009965, allocations: 0 / 278.5 MB, free: 12.41 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.00126/0.01122, allocations: 0.6896 MB / 279.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.01128, allocations: 8.031 kB / 279.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.01142, allocations: 56.7 kB / 279.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.01183, allocations: 247.9 kB / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.01186, allocations: 20.88 kB / 279.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.0119, allocations: 24.38 kB / 279.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.01236, allocations: 305.1 kB / 279.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.01237, allocations: 192 / 279.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.01239, allocations: 12.38 kB / 279.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.01241, allocations: 11.94 kB / 279.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.01259, allocations: 102.9 kB / 279.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.01375, allocations: 1.037 MB / 281 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.01402, allocations: 111.2 kB / 281.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.01409, allocations: 35.67 kB / 281.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01411, allocations: 4 kB / 281.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.0143, allocations: 183.4 kB / 281.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.0143, allocations: 0 / 281.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007525/0.01505, allocations: 312.9 kB / 281.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.0151, allocations: 106.8 kB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01531, allocations: 312.2 kB / 282 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.01533, allocations: 33.7 kB / 282.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01544, allocations: 246.7 kB / 282.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.01547, allocations: 51.62 kB / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.01554, allocations: 55.55 kB / 282.4 MB, free: 8.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01568, allocations: 0.5079 MB / 282.9 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.01577, allocations: 54.14 kB / 283 MB, free: 7.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.01592, allocations: 256.8 kB / 283.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.01612, allocations: 233.4 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01613, allocations: 4 kB / 283.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000421/0.01655, allocations: 330.9 kB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.01658, allocations: 38.06 kB / 283.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.01659, allocations: 8 kB / 283.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.01689, allocations: 79.62 kB / 283.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.017, allocations: 43.92 kB / 283.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.01835, allocations: 2.188 MB / 286.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.01851, allocations: 43.77 kB / 286.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.01853, allocations: 16.11 kB / 286.2 MB, free: 4.098 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.0001162/0.01865, allocations: 172.5 kB / 286.4 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.01868, allocations: 31.8 kB / 286.4 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.01871, allocations: 25.77 kB / 286.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01871, allocations: 8.031 kB / 286.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01872, allocations: 0 / 286.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01872, allocations: 0 / 286.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.01892, allocations: 228.4 kB / 286.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01892, allocations: 0 / 286.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.01898, allocations: 19.92 kB / 286.7 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.01919, allocations: 79.56 kB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.0192, allocations: 8 kB / 286.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.02033, allocations: 2.126 MB / 288.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02033, allocations: 3.938 kB / 288.9 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.02062, allocations: 219.5 kB / 289.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.02064, allocations: 23.86 kB / 289.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.02066, allocations: 0 / 289.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.02076, allocations: 32 kB / 289.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.02083, allocations: 23.97 kB / 289.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.02084, allocations: 0 / 289.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.02098, allocations: 213.1 kB / 289.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02098, allocations: 0 / 289.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.02129, allocations: 87.78 kB / 289.5 MB, free: 0.625 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.0001247/0.02142, allocations: 99.19 kB / 289.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.02194, allocations: 421.5 kB / 290 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02194, allocations: 0 / 290 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.02213, allocations: 242.1 kB / 290.2 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.02238, allocations: 67.41 kB / 290.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.02384, allocations: 0.6902 MB / 291 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.02389, allocations: 84.17 kB / 291 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.001e-05/0.02397, allocations: 26.28 kB / 291.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.02402, allocations: 24.5 kB / 291.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02402, allocations: 4 kB / 291.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Templates: time 0.006226/0.03025, allocations: 4.169 MB / 295.3 MB, free: 10.76 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.905484974849969]