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.001301/0.001301, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001423/0.001423, allocations: 206.8 kB / 24.48 MB, free: 3.977 MB / 14.72 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.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001582/0.001582, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 53.38 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00426/0.2324, allocations: 2.758 MB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2337, allocations: 0.7324 MB / 435.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.2339, allocations: 11.94 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.234, allocations: 39.58 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.2343, allocations: 115.1 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2345, allocations: 111.8 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.235, allocations: 418.5 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.2352, allocations: 90.62 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.2354, allocations: 163.4 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2356, allocations: 179.2 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.2357, allocations: 44 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.2357, allocations: 40 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.2358, allocations: 71.77 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.236, allocations: 147.3 kB / 437.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.2365, allocations: 457.9 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2365, allocations: 4 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2365, allocations: 0 / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.2365, allocations: 0 / 437.7 MB, free: 1.359 MB / 334.1 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.001344/0.2379, allocations: 0.613 MB / 438.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2379, allocations: 8.031 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.238, allocations: 36.7 kB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.2384, allocations: 253.9 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2384, allocations: 16.88 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.2385, allocations: 28.38 kB / 438.7 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.2393, allocations: 382.4 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2393, allocations: 0 / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.2393, allocations: 8 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2394, allocations: 15.98 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.2402, allocations: 277.8 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2421, allocations: 0.9797 MB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/0.243, allocations: 238.5 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.2433, allocations: 104.9 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2434, allocations: 4 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.2439, allocations: 229.3 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2439, allocations: 4 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00232/0.2462, allocations: 0.5916 MB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.2463, allocations: 106.8 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.2466, allocations: 273.8 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2466, allocations: 33.7 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2468, allocations: 200 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.2468, allocations: 47.64 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.2469, allocations: 53.83 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2471, allocations: 338.8 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.2475, allocations: 137.8 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.248, allocations: 291.1 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.2487, allocations: 323.3 kB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2487, allocations: 4 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001359/0.2501, allocations: 0.4936 MB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.2501, allocations: 41.69 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2501, allocations: 4 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.2505, allocations: 88.86 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2508, allocations: 51.91 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.2538, allocations: 1.918 MB / 445.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.2542, allocations: 63.8 kB / 445.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2542, allocations: 8 kB / 445.9 MB, free: 8.656 MB / 350.1 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.0001883/0.2544, allocations: 149.7 kB / 446 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.2544, allocations: 27.8 kB / 446.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.2545, allocations: 25.77 kB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.2545, allocations: 4 kB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.2545, allocations: 0 / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2545, allocations: 0 / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.2548, allocations: 229 kB / 446.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2548, allocations: 4 kB / 446.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2549, allocations: 19.97 kB / 446.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.2552, allocations: 84.86 kB / 446.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2553, allocations: 15.94 kB / 446.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.2579, allocations: 1.828 MB / 448.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2579, allocations: 0 / 448.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.259, allocations: 376.6 kB / 448.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.259, allocations: 27.8 kB / 448.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.2591, allocations: 3.984 kB / 448.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2593, allocations: 31.97 kB / 448.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.2594, allocations: 19.97 kB / 448.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2594, allocations: 4 kB / 448.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2596, allocations: 197.2 kB / 448.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2596, allocations: 0 / 448.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.2601, allocations: 79.84 kB / 449 MB, free: 5.391 MB / 350.1 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.000141/0.2602, allocations: 103.2 kB / 449.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.2616, allocations: 0.5151 MB / 449.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2616, allocations: 0 / 449.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.2621, allocations: 235.2 kB / 449.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2625, allocations: 46.94 kB / 449.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.2657, allocations: 0.9436 MB / 450.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2659, allocations: 146.9 kB / 451 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.266, allocations: 22.3 kB / 451 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.266, allocations: 23.44 kB / 451 MB, free: 3.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.266, allocations: 0 / 451 MB, free: 3.27 MB / 350.1 MB Notification: Performance of Templates: time 0.009226/0.2753, allocations: 4.473 MB / 455.5 MB, free: 14.86 MB / 366.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.422089087005588]