Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001593/0.001593, 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.001781/0.001781, 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 43.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2434, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004279/0.2477, allocations: 2.797 MB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.249, allocations: 0.7244 MB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.2492, allocations: 7.938 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2493, allocations: 55.44 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.2495, allocations: 103.1 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2498, allocations: 99.81 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.2503, allocations: 426.1 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.2505, allocations: 70.53 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.2507, allocations: 159.4 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2509, allocations: 143.3 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.251, allocations: 35.98 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.2511, allocations: 40 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.2511, allocations: 67.77 kB / 437 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.2513, allocations: 151.3 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.2517, allocations: 398 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2517, allocations: 4 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2517, allocations: 0 / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2517, allocations: 4 kB / 437.6 MB, free: 1.422 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001009/0.2527, allocations: 0.5598 MB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.2528, allocations: 12.03 kB / 438.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.253, allocations: 48.69 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.2534, allocations: 233.8 kB / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.2534, allocations: 17.03 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.2535, allocations: 28.38 kB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.2541, allocations: 412.6 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2541, allocations: 8 kB / 438.9 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.2541, allocations: 8 kB / 438.9 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.2541, allocations: 8 kB / 438.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.2547, allocations: 214.5 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2563, allocations: 0.8289 MB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.2568, allocations: 205.6 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.257, allocations: 92.81 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.257, allocations: 4 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2571, allocations: 34.56 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.2571, allocations: 0 / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001216/0.2583, allocations: 415.1 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2583, allocations: 59.34 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.2586, allocations: 237 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.2586, allocations: 33.7 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2588, allocations: 192.4 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.2588, allocations: 75.36 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.2589, allocations: 45.94 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2591, allocations: 338.8 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.2593, allocations: 68.44 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.2595, allocations: 115.4 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2599, allocations: 186.5 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2599, allocations: 3.938 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006601/0.2605, allocations: 315 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2606, allocations: 11.94 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2606, allocations: 0 / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.2609, allocations: 77.66 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2611, allocations: 35.92 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.2636, allocations: 2.787 MB / 445.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.2638, allocations: 23.86 kB / 445.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2638, allocations: 4 kB / 445.3 MB, free: 9.289 MB / 350.1 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 0.0001722/0.264, allocations: 146.2 kB / 445.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2641, allocations: 23.86 kB / 445.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.2641, allocations: 30.22 kB / 445.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2641, allocations: 4 kB / 445.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2641, allocations: 3.984 kB / 445.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2641, allocations: 0 / 445.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.2652, allocations: 0.5799 MB / 446 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2652, allocations: 0 / 446 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2653, allocations: 27.98 kB / 446.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.2655, allocations: 77.73 kB / 446.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2655, allocations: 8 kB / 446.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.2679, allocations: 2.776 MB / 448.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2679, allocations: 0 / 448.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.2685, allocations: 377.6 kB / 449.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2686, allocations: 31.83 kB / 449.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.2686, allocations: 4 kB / 449.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.2688, allocations: 31.86 kB / 449.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.2689, allocations: 19.95 kB / 449.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2689, allocations: 12 kB / 449.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2691, allocations: 176.5 kB / 449.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 0 / 449.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.2695, allocations: 99.78 kB / 449.7 MB, free: 4.598 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: 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 0.0001187/0.2696, allocations: 103.2 kB / 449.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.2704, allocations: 442.4 kB / 450.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2704, allocations: 0 / 450.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.2708, allocations: 329.2 kB / 450.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2712, allocations: 42.91 kB / 450.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009429/0.2721, allocations: 0.5359 MB / 451.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.2723, allocations: 159.5 kB / 451.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.2724, allocations: 19.44 kB / 451.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2724, allocations: 0 / 451.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of Templates: time 0.008428/0.2808, allocations: 5.632 MB / 456.9 MB, free: 13.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.469489887822419]