Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001406/0.001406, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001448/0.001448, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 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.442/1.442, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 51.86 kB / 371.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 52.17 MB / 423.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004511/0.2498, allocations: 3.118 MB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2512, allocations: 0.7792 MB / 427.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.2514, allocations: 7.938 kB / 427.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.2516, allocations: 55.48 kB / 427.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.2518, allocations: 119 kB / 428 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.2522, allocations: 131.8 kB / 428.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.2527, allocations: 458.2 kB / 428.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.2529, allocations: 103.5 kB / 428.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.2531, allocations: 175.3 kB / 428.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.2534, allocations: 191.2 kB / 429 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.2534, allocations: 44 kB / 429.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.2535, allocations: 44 kB / 429.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.2536, allocations: 87.69 kB / 429.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2538, allocations: 203 kB / 429.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.2543, allocations: 0.4915 MB / 429.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2543, allocations: 0 / 429.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2543, allocations: 0 / 429.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2543, allocations: 0 / 429.9 MB, free: 8.73 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001398/0.2557, allocations: 0.6433 MB / 430.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2558, allocations: 8.031 kB / 430.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.2559, allocations: 40.7 kB / 430.6 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.2563, allocations: 260.9 kB / 430.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.2564, allocations: 21.03 kB / 430.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.2564, allocations: 28.38 kB / 430.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.2572, allocations: 364.8 kB / 431.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2572, allocations: 0 / 431.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.2572, allocations: 12 kB / 431.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2573, allocations: 4 kB / 431.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.2581, allocations: 306.4 kB / 431.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.2603, allocations: 1.218 MB / 432.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.2611, allocations: 258.3 kB / 433 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.2615, allocations: 124.8 kB / 433.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.2615, allocations: 4 kB / 433.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/0.262, allocations: 197.3 kB / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.262, allocations: 0 / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002109/0.2641, allocations: 0.5603 MB / 433.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.2642, allocations: 118.8 kB / 434 MB, free: 4.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.2646, allocations: 288.5 kB / 434.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2646, allocations: 33.7 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.2648, allocations: 212.3 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.2648, allocations: 63.47 kB / 434.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/0.2649, allocations: 53.7 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2651, allocations: 334.8 kB / 435 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.2655, allocations: 116.2 kB / 435.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.2659, allocations: 225.2 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.2667, allocations: 336.5 kB / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2667, allocations: 0 / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001285/0.268, allocations: 489.2 kB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.268, allocations: 37.7 kB / 436.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.268, allocations: 4 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.2683, allocations: 68.86 kB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2686, allocations: 67.89 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.2709, allocations: 1.541 MB / 437.8 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.2713, allocations: 55.84 kB / 437.9 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.2713, allocations: 16 kB / 437.9 MB, free: 244 kB / 334.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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.2715, allocations: 145.8 kB / 438 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.2715, allocations: 27.8 kB / 438.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.2716, allocations: 30.14 kB / 438.1 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.2716, allocations: 8.031 kB / 438.1 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2716, allocations: 7.938 kB / 438.1 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2716, allocations: 3.984 kB / 438.1 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.2733, allocations: 0.7677 MB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2733, allocations: 4.031 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.2735, allocations: 47.91 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.2737, allocations: 64.8 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.2738, allocations: 4 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2758, allocations: 1.525 MB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2758, allocations: 4.031 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2773, allocations: 0.5695 MB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.2773, allocations: 27.78 kB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.2774, allocations: 4 kB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.2777, allocations: 32.03 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.2778, allocations: 27.95 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2778, allocations: 8 kB / 441.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.278, allocations: 207.1 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.278, allocations: 0 / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.2784, allocations: 83.84 kB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.2786, allocations: 99.25 kB / 441.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.2797, allocations: 441.3 kB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2797, allocations: 4.188 kB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.2801, allocations: 234.5 kB / 442.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.2806, allocations: 60.95 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.2833, allocations: 0.8791 MB / 443.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.2837, allocations: 0.76 MB / 443.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.2838, allocations: 31.38 kB / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2838, allocations: 0 / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Templates: time 0.008079/0.2919, allocations: 5.307 MB / 449.3 MB, free: 4.562 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.421648391988128]