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.00213/0.00213, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002915/0.002915, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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 1.535/1.535, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 47.94 kB / 348.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004111/0.3513, allocations: 2.983 MB / 400.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3526, allocations: 0.731 MB / 401.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.3527, allocations: 12.47 kB / 401.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.3529, allocations: 57.84 kB / 401.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.3531, allocations: 101.5 kB / 401.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3534, allocations: 91.52 kB / 401.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.3539, allocations: 416 kB / 402 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.3541, allocations: 81.25 kB / 402.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.3544, allocations: 151.2 kB / 402.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.3546, allocations: 159.9 kB / 402.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.3546, allocations: 36 kB / 402.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.3547, allocations: 32 kB / 402.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.3548, allocations: 78.25 kB / 402.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3549, allocations: 175.6 kB / 402.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.3554, allocations: 389.9 kB / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3554, allocations: 0 / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3554, allocations: 0 / 403.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3554, allocations: 0 / 403.1 MB, free: 5.984 MB / 318.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.001033/0.3565, allocations: 0.5659 MB / 403.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3565, allocations: 13.27 kB / 403.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.3566, allocations: 39.81 kB / 403.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.357, allocations: 230 kB / 403.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.357, allocations: 19.72 kB / 403.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3571, allocations: 26.12 kB / 404 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.3576, allocations: 257.9 kB / 404.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3576, allocations: 3.938 kB / 404.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.3576, allocations: 19.44 kB / 404.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3576, allocations: 6.844 kB / 404.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.3582, allocations: 218.8 kB / 404.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.3598, allocations: 0.9167 MB / 405.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.3603, allocations: 205.1 kB / 405.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.3605, allocations: 95.34 kB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3605, allocations: 2.406 kB / 405.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3605, allocations: 37.5 kB / 405.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.3605, allocations: 4 kB / 405.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001222/0.3617, allocations: 409 kB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.3618, allocations: 58.03 kB / 406.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.362, allocations: 268.4 kB / 406.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3621, allocations: 32.3 kB / 406.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3622, allocations: 184.9 kB / 406.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.3622, allocations: 70.31 kB / 406.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.3623, allocations: 47.67 kB / 406.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.3624, allocations: 336.6 kB / 407.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3626, allocations: 76.25 kB / 407.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3628, allocations: 107.6 kB / 407.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.3631, allocations: 196.8 kB / 407.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3631, allocations: 1.312 kB / 407.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005825/0.3637, allocations: 316.2 kB / 407.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3637, allocations: 5.562 kB / 407.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3637, allocations: 6.125 kB / 407.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.364, allocations: 74.27 kB / 407.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3642, allocations: 38.05 kB / 407.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.366, allocations: 2.841 MB / 410.7 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.3662, allocations: 31.17 kB / 410.7 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3662, allocations: 6.062 kB / 410.8 MB, free: 284 kB / 318.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.0001278/0.3664, allocations: 138.9 kB / 410.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3664, allocations: 30.3 kB / 410.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.3665, allocations: 31.66 kB / 411 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3665, allocations: 1.469 kB / 411 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3665, allocations: 3.031 kB / 411 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3665, allocations: 5.109 kB / 411 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.3677, allocations: 0.662 MB / 411.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3677, allocations: 0 / 411.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.3678, allocations: 32.72 kB / 411.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.368, allocations: 76.36 kB / 411.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.368, allocations: 5.938 kB / 411.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.3706, allocations: 2.842 MB / 414.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3706, allocations: 0 / 414.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.3713, allocations: 380.7 kB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.3714, allocations: 33.92 kB / 415 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.3714, allocations: 5.094 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3717, allocations: 29.92 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.3717, allocations: 21.59 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3718, allocations: 9.125 kB / 415 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.372, allocations: 186.9 kB / 415.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.372, allocations: 0 / 415.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000421/0.3724, allocations: 93.98 kB / 415.3 MB, free: 12.48 MB / 334.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.0001604/0.3726, allocations: 109.6 kB / 415.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008645/0.3734, allocations: 431.1 kB / 415.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3734, allocations: 1 kB / 415.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005086/0.3739, allocations: 346.7 kB / 416.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.3743, allocations: 51.72 kB / 416.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3754, allocations: 0.5192 MB / 416.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.3759, allocations: 0.7649 MB / 417.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.18e-05/0.376, allocations: 20.09 kB / 417.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.376, allocations: 0 / 417.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.009631/0.3856, allocations: 5.648 MB / 423.2 MB, free: 7.742 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.301887946901843]