Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.001956/0.001956, allocations: 101.5 kB / 21.93 MB, free: 5.203 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.001976/0.001976, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.586/1.586, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") [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.001884/0.001884, allocations: 62.73 kB / 348.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3171, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003499/0.3206, allocations: 2.061 MB / 399.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.3216, allocations: 490.5 kB / 400.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3217, allocations: 2.25 kB / 400.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.3218, allocations: 28.03 kB / 400.2 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.3219, allocations: 43.11 kB / 400.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.3222, allocations: 37.22 kB / 400.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3224, allocations: 157.3 kB / 400.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.3226, allocations: 44.11 kB / 400.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3227, allocations: 65.06 kB / 400.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3229, allocations: 58.66 kB / 400.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.3229, allocations: 13.12 kB / 400.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.323, allocations: 24.11 kB / 400.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.3231, allocations: 27.75 kB / 400.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.3232, allocations: 65.22 kB / 400.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.3235, allocations: 159.4 kB / 400.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3235, allocations: 0.9688 kB / 400.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3235, allocations: 0 / 400.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3235, allocations: 0 / 400.8 MB, free: 7.332 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005747/0.3241, allocations: 365.1 kB / 401.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3241, allocations: 13.27 kB / 401.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3242, allocations: 22.73 kB / 401.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3245, allocations: 157.9 kB / 401.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3245, allocations: 5.828 kB / 401.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3245, allocations: 11.69 kB / 401.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.3248, allocations: 152.8 kB / 401.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3248, allocations: 0 / 401.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3248, allocations: 4.906 kB / 401.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3248, allocations: 3.531 kB / 401.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.325, allocations: 77.34 kB / 401.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.3257, allocations: 437.3 kB / 402.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.326, allocations: 83.55 kB / 402.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/0.3261, allocations: 30.25 kB / 402.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3261, allocations: 1.406 kB / 402.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3262, allocations: 44.66 kB / 402.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3262, allocations: 0 / 402.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006719/0.3268, allocations: 175.5 kB / 402.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.3269, allocations: 53.39 kB / 402.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.327, allocations: 146.8 kB / 402.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.327, allocations: 33.7 kB / 402.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.327, allocations: 126.3 kB / 402.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3271, allocations: 20.88 kB / 402.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3271, allocations: 20.62 kB / 402.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.3271, allocations: 320.8 kB / 403.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.3272, allocations: 23.55 kB / 403.1 MB, free: 5.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.3273, allocations: 41.41 kB / 403.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3274, allocations: 70.83 kB / 403.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3274, allocations: 5.219 kB / 403.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002809/0.3277, allocations: 132.4 kB / 403.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3277, allocations: 4.781 kB / 403.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3277, allocations: 1.5 kB / 403.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.3279, allocations: 36.73 kB / 403.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.328, allocations: 13.5 kB / 403.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.3293, allocations: 1.571 MB / 405 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.3294, allocations: 12.33 kB / 405 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3294, allocations: 3.312 kB / 405 MB, free: 3.801 MB / 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.3295, allocations: 120.8 kB / 405.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.3295, allocations: 13.3 kB / 405.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.3295, allocations: 15.84 kB / 405.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3295, allocations: 1.781 kB / 405.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3295, allocations: 0 / 405.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3295, allocations: 0.9844 kB / 405.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3297, allocations: 140.1 kB / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3297, allocations: 0 / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.3297, allocations: 4.75 kB / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.3299, allocations: 39.88 kB / 405.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3299, allocations: 6.422 kB / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009756/0.3309, allocations: 1.555 MB / 406.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3309, allocations: 1.25 kB / 406.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3311, allocations: 214.5 kB / 407.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.3312, allocations: 12.3 kB / 407.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3312, allocations: 9.062 kB / 407.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.3313, allocations: 6.016 kB / 407.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3313, allocations: 9.016 kB / 407.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3313, allocations: 1.188 kB / 407.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.3314, allocations: 112.8 kB / 407.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3314, allocations: 0 / 407.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.3318, allocations: 39.58 kB / 407.3 MB, free: 1.746 MB / 318.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.11e-05/0.3319, allocations: 95.48 kB / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.3322, allocations: 188.7 kB / 407.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3323, allocations: 1 kB / 407.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3324, allocations: 161.1 kB / 407.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3327, allocations: 17.3 kB / 407.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.3333, allocations: 317.8 kB / 408.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.896e-05/0.3334, allocations: 97.94 kB / 408.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.3334, allocations: 11.81 kB / 408.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3334, allocations: 0 / 408.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of Templates: time 0.004886/0.3383, allocations: 1.969 MB / 410.1 MB, free: 0.875 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.523260194808245]