Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001405/0.001405, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001051/0.001051, allocations: 168.7 kB / 25.69 MB, free: 8.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8367/0.8367, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.527e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003845/0.00386, allocations: 2.938 MB / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.005294, allocations: 0.7407 MB / 255.2 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.00544, allocations: 7.938 kB / 255.2 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.005619, allocations: 55.48 kB / 255.3 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.005835, allocations: 107 kB / 255.4 MB, free: 3.395 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.006097, allocations: 87.86 kB / 255.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.00651, allocations: 433.8 kB / 255.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.006683, allocations: 78.23 kB / 256 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.006993, allocations: 227.5 kB / 256.2 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.007167, allocations: 123.7 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.007224, allocations: 32 kB / 256.3 MB, free: 2.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.007274, allocations: 36 kB / 256.4 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.007342, allocations: 79.67 kB / 256.4 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.007466, allocations: 119.8 kB / 256.6 MB, free: 2.199 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.007787, allocations: 267 kB / 256.8 MB, free: 1.938 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007789, allocations: 0 / 256.8 MB, free: 1.938 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00779, allocations: 0 / 256.8 MB, free: 1.938 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.007794, allocations: 0 / 256.8 MB, free: 1.938 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007353/0.00853, allocations: 0.535 MB / 257.4 MB, free: 1.379 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.008565, allocations: 11.98 kB / 257.4 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.008648, allocations: 56.89 kB / 257.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.008899, allocations: 185.2 kB / 257.6 MB, free: 1.105 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.008922, allocations: 21.03 kB / 257.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.008965, allocations: 32.31 kB / 257.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.009325, allocations: 353.5 kB / 258 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.009336, allocations: 192 / 258 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.009363, allocations: 12.38 kB / 258 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.009372, allocations: 7.938 kB / 258 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.009523, allocations: 76.48 kB / 258.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01094, allocations: 0.6543 MB / 258.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.01123, allocations: 142.9 kB / 258.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.01131, allocations: 51.64 kB / 258.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.01133, allocations: 4 kB / 258.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.01136, allocations: 38.56 kB / 259 MB, free: 15.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.01136, allocations: 0 / 259 MB, free: 15.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006878/0.01205, allocations: 263.5 kB / 259.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.01207, allocations: 51.41 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01225, allocations: 217 kB / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.01227, allocations: 33.7 kB / 259.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.01236, allocations: 172.4 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.01241, allocations: 79.31 kB / 259.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.01248, allocations: 45.92 kB / 259.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01259, allocations: 338.8 kB / 260.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.01264, allocations: 16.47 kB / 260.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.01271, allocations: 51.47 kB / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.01284, allocations: 98.33 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01284, allocations: 0 / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003017/0.01315, allocations: 175.1 kB / 260.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01316, allocations: 8 kB / 260.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01317, allocations: 0 / 260.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.01341, allocations: 89.69 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.0135, allocations: 35.92 kB / 260.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.01458, allocations: 2.502 MB / 263.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.01465, allocations: 23.83 kB / 263.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01466, allocations: 4 kB / 263.2 MB, free: 11.19 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.01472, allocations: 125.8 kB / 263.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.01475, allocations: 27.97 kB / 263.3 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.01477, allocations: 26.22 kB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01478, allocations: 7.922 kB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01478, allocations: 4 kB / 263.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01478, allocations: 0 / 263.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.01513, allocations: 396.5 kB / 263.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01513, allocations: 0 / 263.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.01518, allocations: 23.92 kB / 263.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.01533, allocations: 89.64 kB / 263.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.01534, allocations: 0 / 263.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.01653, allocations: 2.494 MB / 266.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01653, allocations: 0 / 266.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.0167, allocations: 249.6 kB / 266.6 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.01672, allocations: 27.78 kB / 266.6 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01673, allocations: 7.938 kB / 266.6 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.01683, allocations: 32.02 kB / 266.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01687, allocations: 23.95 kB / 266.7 MB, free: 7.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01687, allocations: 0 / 266.7 MB, free: 7.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.972e-05/0.01692, allocations: 78.78 kB / 266.7 MB, free: 7.348 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01692, allocations: 0 / 266.7 MB, free: 7.348 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01712, allocations: 95.78 kB / 266.8 MB, free: 7.254 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.877e-05/0.01719, allocations: 84.42 kB / 266.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.01745, allocations: 360.6 kB / 267.3 MB, free: 6.785 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01746, allocations: 0 / 267.3 MB, free: 6.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.0176, allocations: 309.8 kB / 267.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.01777, allocations: 40.67 kB / 267.6 MB, free: 6.414 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.01841, allocations: 481.7 kB / 268.1 MB, free: 5.918 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.942e-05/0.01846, allocations: 92.3 kB / 268.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.01851, allocations: 17.95 kB / 268.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.01862, allocations: 103.3 kB / 268.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01862, allocations: 0 / 268.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of Templates: time 0.00527/0.02389, allocations: 3.74 MB / 272 MB, free: 1.98 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.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.4721405571326613]