Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001592/0.001592, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002365/0.002365, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.48/1.48, 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 59.91 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2496, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004337/0.2539, allocations: 2.758 MB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2554, allocations: 0.7246 MB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2556, allocations: 4 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2557, allocations: 47.52 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.2559, allocations: 111.2 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.2563, allocations: 119.8 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.2567, allocations: 418.4 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.257, allocations: 87.33 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2572, allocations: 159.5 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.2574, allocations: 151.2 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2574, allocations: 40 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.2575, allocations: 40 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.2576, allocations: 83.7 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.2577, allocations: 147.3 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.2583, allocations: 461.2 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2583, allocations: 0 / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2583, allocations: 0 / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2583, allocations: 0 / 437.7 MB, free: 1.391 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.001336/0.2596, allocations: 0.6092 MB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2596, allocations: 8.031 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.2597, allocations: 40.7 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.2602, allocations: 245.8 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2603, allocations: 20.88 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.2603, allocations: 28.38 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.2611, allocations: 378.4 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2611, allocations: 0 / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2611, allocations: 12 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2611, allocations: 4 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008378/0.262, allocations: 289.8 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.2639, allocations: 0.9759 MB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.2647, allocations: 242.5 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.2651, allocations: 108.8 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2651, allocations: 4 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005112/0.2656, allocations: 237.1 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2656, allocations: 0 / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002348/0.268, allocations: 0.5909 MB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.268, allocations: 106.8 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.2684, allocations: 273.8 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2684, allocations: 29.7 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2686, allocations: 200 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.2686, allocations: 43.69 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2687, allocations: 57.88 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2689, allocations: 330.8 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.2692, allocations: 134.1 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.2697, allocations: 289.9 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.2705, allocations: 307.8 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2705, allocations: 0 / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001323/0.2718, allocations: 0.4921 MB / 443.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.2719, allocations: 41.69 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2719, allocations: 4 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.2723, allocations: 84.86 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2725, allocations: 43.91 kB / 443.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.2752, allocations: 1.856 MB / 445.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.2756, allocations: 55.92 kB / 445.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.2756, allocations: 8 kB / 445.7 MB, free: 8.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.000188/0.2758, allocations: 157.8 kB / 445.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.2758, allocations: 27.8 kB / 445.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.2759, allocations: 25.77 kB / 446 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2759, allocations: 4 kB / 446 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2759, allocations: 272 / 446 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2759, allocations: 3.984 kB / 446 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.2762, allocations: 229 kB / 446.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2762, allocations: 0 / 446.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2763, allocations: 27.97 kB / 446.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.2766, allocations: 76.75 kB / 446.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2766, allocations: 7.984 kB / 446.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.279, allocations: 1.663 MB / 448 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.279, allocations: 3.938 kB / 448 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2801, allocations: 373.5 kB / 448.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.2802, allocations: 23.86 kB / 448.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.2802, allocations: 4 kB / 448.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2805, allocations: 35.95 kB / 448.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.2805, allocations: 19.97 kB / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2806, allocations: 0 / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.2808, allocations: 197.2 kB / 448.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2808, allocations: 0 / 448.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.2812, allocations: 87.78 kB / 448.7 MB, free: 5.699 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.00013/0.2813, allocations: 99.25 kB / 448.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2824, allocations: 451.1 kB / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2824, allocations: 4 kB / 449.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.2828, allocations: 234.5 kB / 449.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2832, allocations: 51.66 kB / 449.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2844, allocations: 0.5098 MB / 450 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2845, allocations: 146.9 kB / 450.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.2846, allocations: 27.44 kB / 450.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2846, allocations: 0 / 450.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Templates: time 0.008404/0.293, allocations: 4.8 MB / 455 MB, free: 15.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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: 7.345868557225913]