Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002467/0.002467, allocations: 95.59 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002897/0.002897, allocations: 156.9 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.493e-05, allocations: 6.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004869/0.004904, allocations: 2.991 MB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.006428, allocations: 0.7439 MB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.006565, allocations: 11.88 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.006741, allocations: 51.44 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.006988, allocations: 107 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.007313, allocations: 103.8 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007733/0.008087, allocations: 437.9 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.00828, allocations: 75.62 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.008681, allocations: 231.5 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.008891, allocations: 123.7 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.008973, allocations: 32 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.009073, allocations: 36 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.759e-05/0.009161, allocations: 75.67 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.009334, allocations: 127.7 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.009872, allocations: 410.6 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.009874, allocations: 0 / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009875, allocations: 0 / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.009882, allocations: 4 kB / 277.7 MB, free: 12.24 MB / 266.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.001176/0.01106, allocations: 0.6789 MB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.0111, allocations: 11.98 kB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.01132, allocations: 68.69 kB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.01171, allocations: 224 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.01174, allocations: 21.03 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.01179, allocations: 28.38 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.01242, allocations: 400.9 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01243, allocations: 192 / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.01247, allocations: 16.38 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.01248, allocations: 11.94 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.01299, allocations: 194.5 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.01496, allocations: 0.9343 MB / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.01551, allocations: 219 kB / 280.5 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.01572, allocations: 95.66 kB / 280.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.01576, allocations: 4 kB / 280.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.01581, allocations: 41.33 kB / 280.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.01581, allocations: 4 kB / 280.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.00129/0.0171, allocations: 400.9 kB / 281 MB, free: 8.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.01715, allocations: 55.41 kB / 281.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.01753, allocations: 328.3 kB / 281.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.01756, allocations: 33.64 kB / 281.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.01776, allocations: 243.2 kB / 281.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.01784, allocations: 79.36 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01795, allocations: 55.59 kB / 281.8 MB, free: 7.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.01826, allocations: 0.5157 MB / 282.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.01844, allocations: 76.36 kB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.01868, allocations: 108 kB / 282.5 MB, free: 7.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.01905, allocations: 179 kB / 282.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01905, allocations: 0 / 282.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007364/0.01979, allocations: 324.5 kB / 283 MB, free: 6.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01981, allocations: 4 kB / 283 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01981, allocations: 0 / 283 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/0.02028, allocations: 111.3 kB / 283.1 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.02046, allocations: 31.98 kB / 283.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.0243, allocations: 3.84 MB / 287 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.02452, allocations: 23.88 kB / 287 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.02454, allocations: 4 kB / 287 MB, free: 2.391 MB / 266.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 0.0002422/0.02478, allocations: 188.5 kB / 287.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.02485, allocations: 28.05 kB / 287.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.02492, allocations: 34.27 kB / 287.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.02492, allocations: 4.031 kB / 287.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.02494, allocations: 8 kB / 287.3 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.02494, allocations: 3.938 kB / 287.3 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.02611, allocations: 0.6562 MB / 287.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.02612, allocations: 4 kB / 287.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.02623, allocations: 19.98 kB / 288 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/0.02661, allocations: 107.3 kB / 288.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.02663, allocations: 4 kB / 288.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.03036, allocations: 3.833 MB / 291.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03036, allocations: 0 / 291.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.03111, allocations: 435.5 kB / 292.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.03116, allocations: 27.78 kB / 292.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.0312, allocations: 8 kB / 292.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.03143, allocations: 20.17 kB / 292.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.03153, allocations: 27.89 kB / 292.4 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.03155, allocations: 16 kB / 292.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.03178, allocations: 229.1 kB / 292.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03178, allocations: 0 / 292.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.0322, allocations: 91.89 kB / 292.7 MB, free: 12.32 MB / 282.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 0.0001426/0.03234, allocations: 103.2 kB / 292.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009201/0.03326, allocations: 0.5449 MB / 293.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03327, allocations: 0 / 293.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.03384, allocations: 456.2 kB / 293.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.03419, allocations: 40.42 kB / 293.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.0352, allocations: 0.4981 MB / 294.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.03538, allocations: 163.5 kB / 294.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.0355, allocations: 21.94 kB / 294.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.03556, allocations: 20.5 kB / 294.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03556, allocations: 0 / 294.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of Templates: time 0.009532/0.04509, allocations: 3.611 MB / 298.2 MB, free: 6.805 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.700010407017544]