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.001691/0.001691, allocations: 107.6 kB / 21.18 MB, free: 452 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.001615/0.001615, allocations: 217.1 kB / 24.47 MB, free: 3.777 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.519/1.519, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.002118/0.002118, allocations: 51.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.293, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004226/0.2972, allocations: 2.728 MB / 399.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2986, allocations: 0.698 MB / 400.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2988, allocations: 9.188 kB / 400.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.299, allocations: 57.84 kB / 400.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.2992, allocations: 105.8 kB / 400.4 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.2995, allocations: 86.47 kB / 400.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.3, allocations: 415.2 kB / 400.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3002, allocations: 80.66 kB / 401 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.3005, allocations: 152.6 kB / 401.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3007, allocations: 152.2 kB / 401.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.3008, allocations: 32.12 kB / 401.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.3008, allocations: 31.97 kB / 401.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.3009, allocations: 70.86 kB / 401.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.3011, allocations: 147.9 kB / 401.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.3016, allocations: 392.7 kB / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3016, allocations: 1.156 kB / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3016, allocations: 0.5625 kB / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.3016, allocations: 0 / 402 MB, free: 6.238 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.001043/0.3026, allocations: 0.5651 MB / 402.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3027, allocations: 13.7 kB / 402.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.3028, allocations: 43.73 kB / 402.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.3032, allocations: 223.3 kB / 402.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3032, allocations: 20.91 kB / 402.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.3033, allocations: 24.69 kB / 402.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.3039, allocations: 419.5 kB / 403.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3039, allocations: 0 / 403.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.304, allocations: 16.89 kB / 403.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.304, allocations: 7.062 kB / 403.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.3045, allocations: 212.5 kB / 403.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3061, allocations: 0.8153 MB / 404.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.3066, allocations: 198.1 kB / 404.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.3069, allocations: 93.94 kB / 404.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3069, allocations: 2.75 kB / 404.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3069, allocations: 41.59 kB / 404.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.3069, allocations: 4 kB / 404.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001311/0.3082, allocations: 409.2 kB / 405 MB, free: 4.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3083, allocations: 62.38 kB / 405.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.3086, allocations: 243.6 kB / 405.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3086, allocations: 31.08 kB / 405.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3087, allocations: 190 kB / 405.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.3088, allocations: 70.52 kB / 405.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.3088, allocations: 44.66 kB / 405.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.3089, allocations: 330.7 kB / 406 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.3091, allocations: 77.61 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3093, allocations: 110.6 kB / 406.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.3097, allocations: 190.3 kB / 406.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3097, allocations: 1.969 kB / 406.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000612/0.3104, allocations: 315.9 kB / 406.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3104, allocations: 8.312 kB / 406.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3104, allocations: 1.25 kB / 406.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.3107, allocations: 79.59 kB / 406.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.3109, allocations: 34.16 kB / 406.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.3127, allocations: 2.789 MB / 409.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3129, allocations: 22.91 kB / 409.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3129, allocations: 10.2 kB / 409.6 MB, free: 496 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.0001395/0.313, allocations: 142.9 kB / 409.8 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.3131, allocations: 25.12 kB / 409.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.3132, allocations: 34.06 kB / 409.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3132, allocations: 7.719 kB / 409.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3132, allocations: 5.375 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3132, allocations: 2.078 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/0.3142, allocations: 0.5782 MB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3142, allocations: 0 / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.3143, allocations: 24.59 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.3145, allocations: 78.56 kB / 410.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3145, allocations: 4 kB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/0.3171, allocations: 2.781 MB / 413.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3171, allocations: 0 / 413.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.3177, allocations: 377.3 kB / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.3178, allocations: 31.19 kB / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3178, allocations: 1.969 kB / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.3181, allocations: 42.41 kB / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.3181, allocations: 25.38 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3182, allocations: 9.094 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3183, allocations: 173.4 kB / 413.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3183, allocations: 0 / 413.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.3188, allocations: 91.55 kB / 414 MB, free: 12.83 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.0001312/0.3189, allocations: 100.4 kB / 414.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.3197, allocations: 436 kB / 414.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3197, allocations: 0 / 414.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.3202, allocations: 339.6 kB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3206, allocations: 40.5 kB / 414.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.3215, allocations: 0.4902 MB / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3217, allocations: 157.8 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.3218, allocations: 23.08 kB / 415.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3219, allocations: 22.56 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3219, allocations: 3.938 kB / 415.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Templates: time 0.008805/0.3307, allocations: 3.898 MB / 419.5 MB, free: 9.785 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/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: 4.890016715973616]