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.0013/0.0013, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001503/0.001503, allocations: 145.2 kB / 24.89 MB, free: 9.207 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 0.8804/0.8804, allocations: 173.3 MB / 201.5 MB, free: 9.184 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.363e-06/1.363e-06, allocations: 0 / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.889e-05, allocations: 2.312 kB / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003892/0.003911, allocations: 2.915 MB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.00535, allocations: 0.7321 MB / 272.2 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.00552, allocations: 7.938 kB / 272.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.005696, allocations: 47.56 kB / 272.2 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.005949, allocations: 111 kB / 272.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.006281, allocations: 115.8 kB / 272.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.006767, allocations: 430.2 kB / 272.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.006968, allocations: 94.22 kB / 272.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.007284, allocations: 243.4 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.007497, allocations: 131.7 kB / 273.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.007562, allocations: 40 kB / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.007617, allocations: 40 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.00769, allocations: 83.67 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.00783, allocations: 123.7 kB / 273.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.008162, allocations: 259.1 kB / 273.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.008165, allocations: 0 / 273.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.008166, allocations: 0 / 273.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.00817, allocations: 0 / 273.8 MB, free: 0.7695 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.0008982/0.009068, allocations: 0.561 MB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.009104, allocations: 12.03 kB / 274.4 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.009189, allocations: 44.89 kB / 274.5 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.00949, allocations: 201.2 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.009513, allocations: 16.88 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.009559, allocations: 28.38 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.009974, allocations: 287.3 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.009985, allocations: 192 / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.01001, allocations: 8.375 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.01002, allocations: 11.94 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.01017, allocations: 67.47 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.01141, allocations: 0.7912 MB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.01165, allocations: 98.45 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.0117, allocations: 28.84 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01172, allocations: 4 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.01191, allocations: 168.8 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.01191, allocations: 0 / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007984/0.01271, allocations: 270.2 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.01276, allocations: 102.8 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.01297, allocations: 248.9 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.01299, allocations: 33.7 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01311, allocations: 187.9 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.01314, allocations: 43.67 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.01323, allocations: 49.88 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01333, allocations: 342.8 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.01341, allocations: 53.92 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.01356, allocations: 206.6 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.01376, allocations: 183.6 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01376, allocations: 3.938 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004293/0.01419, allocations: 265.8 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.01423, allocations: 33.69 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01423, allocations: 4 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.01455, allocations: 84.86 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.0147, allocations: 43.91 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.01604, allocations: 1.488 MB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.01625, allocations: 39.83 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.01627, allocations: 12 kB / 279.8 MB, free: 10.32 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.0001182/0.01639, allocations: 133.8 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.01642, allocations: 19.98 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.01646, allocations: 25.7 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01647, allocations: 4 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01647, allocations: 0 / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.01647, allocations: 4.109 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01666, allocations: 153.8 kB / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01666, allocations: 0 / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.01673, allocations: 19.92 kB / 280.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.01697, allocations: 72.8 kB / 280.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01698, allocations: 0 / 280.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.01836, allocations: 1.445 MB / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01836, allocations: 0 / 281.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.01865, allocations: 165.8 kB / 281.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.01869, allocations: 23.97 kB / 281.9 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.01873, allocations: 8 kB / 281.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01885, allocations: 23.92 kB / 281.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.01892, allocations: 15.97 kB / 281.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01893, allocations: 4 kB / 281.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.01904, allocations: 82.77 kB / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01904, allocations: 0 / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004621/0.0195, allocations: 91.78 kB / 282.1 MB, free: 7.906 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.0001307/0.01963, allocations: 84.39 kB / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005364/0.02017, allocations: 356.9 kB / 282.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.589e-06/0.02018, allocations: 4 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.02038, allocations: 174.6 kB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.0206, allocations: 46.94 kB / 282.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.0224, allocations: 0.6885 MB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.605e-05/0.02246, allocations: 88.27 kB / 283.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.02257, allocations: 26.28 kB / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.02274, allocations: 91.36 kB / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02274, allocations: 0 / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Templates: time 0.008967/0.03171, allocations: 4.304 MB / 287.9 MB, free: 2.035 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.697162547148764]