Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001545/0.001545, 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.001643/0.001643, allocations: 213.5 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.477/1.477, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [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.002208/0.002208, allocations: 58.58 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3094, allocations: 49.15 MB / 396.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003323/0.3127, allocations: 2.324 MB / 399.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3139, allocations: 0.655 MB / 399.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.314, allocations: 3.938 kB / 399.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.3142, allocations: 33.38 kB / 399.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3143, allocations: 70.36 kB / 399.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3146, allocations: 82.14 kB / 400 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.3149, allocations: 278 kB / 400.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3151, allocations: 65.42 kB / 400.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3153, allocations: 114.4 kB / 400.5 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3155, allocations: 104.4 kB / 400.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.3155, allocations: 23 kB / 400.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3156, allocations: 34.88 kB / 400.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.3157, allocations: 46.59 kB / 400.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3158, allocations: 101.1 kB / 400.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.3162, allocations: 281.5 kB / 401 MB, free: 6.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3162, allocations: 1.094 kB / 401 MB, free: 6.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3162, allocations: 0 / 401 MB, free: 6.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3162, allocations: 0 / 401 MB, free: 6.773 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007903/0.317, allocations: 475.5 kB / 401.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.317, allocations: 13.73 kB / 401.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.3171, allocations: 25.27 kB / 401.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3174, allocations: 181.2 kB / 401.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3174, allocations: 13 kB / 401.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.3175, allocations: 28.97 kB / 401.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.3179, allocations: 242.3 kB / 402 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3179, allocations: 4.562 kB / 402 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3179, allocations: 6.5 kB / 402 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.318, allocations: 4.812 kB / 402 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.3183, allocations: 152.8 kB / 402.2 MB, free: 5.977 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3195, allocations: 0.6256 MB / 402.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.3198, allocations: 140.5 kB / 402.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.32, allocations: 83.34 kB / 403 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.32, allocations: 2.062 kB / 403 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3201, allocations: 41.41 kB / 403 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.3201, allocations: 1.156 kB / 403 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001244/0.3213, allocations: 345.4 kB / 403.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.3213, allocations: 56.66 kB / 403.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3215, allocations: 162.5 kB / 403.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3215, allocations: 26.64 kB / 403.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.3216, allocations: 151.2 kB / 403.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.3216, allocations: 69.28 kB / 403.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.3217, allocations: 37.98 kB / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.3217, allocations: 326.9 kB / 404.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.3219, allocations: 56 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.322, allocations: 68.36 kB / 404.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3222, allocations: 124.5 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3222, allocations: 0 / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004089/0.3226, allocations: 220.5 kB / 404.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3226, allocations: 9.062 kB / 404.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3226, allocations: 1.188 kB / 404.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.324, allocations: 223.8 kB / 404.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3242, allocations: 35.38 kB / 404.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003869/0.3245, allocations: 0.6064 MB / 405.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3247, allocations: 14.3 kB / 405.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3247, allocations: 8.078 kB / 405.5 MB, free: 3.652 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3248, allocations: 135.8 kB / 405.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3248, allocations: 16.14 kB / 405.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.3253, allocations: 222.3 kB / 405.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3253, allocations: 2.906 kB / 405.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3253, allocations: 0 / 405.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3253, allocations: 1.312 kB / 405.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.326, allocations: 0.5065 MB / 406.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.326, allocations: 0 / 406.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.3262, allocations: 30.62 kB / 406.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.3272, allocations: 201 kB / 406.6 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3272, allocations: 6.031 kB / 406.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003565/0.3276, allocations: 0.6243 MB / 407.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3276, allocations: 0 / 407.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.3284, allocations: 421.9 kB / 407.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.3284, allocations: 26.88 kB / 407.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.3284, allocations: 6.125 kB / 407.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3286, allocations: 6.391 kB / 407.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.3286, allocations: 18.55 kB / 407.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3286, allocations: 9 kB / 407.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3287, allocations: 135.1 kB / 407.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3287, allocations: 0 / 407.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.3291, allocations: 56.09 kB / 407.9 MB, free: 2.027 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.3292, allocations: 103 kB / 408 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.3296, allocations: 139.7 kB / 408.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3296, allocations: 0 / 408.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.3298, allocations: 93.09 kB / 408.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3301, allocations: 25.31 kB / 408.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.331, allocations: 0.5515 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.3311, allocations: 124.8 kB / 409 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.3311, allocations: 13.98 kB / 409 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.3312, allocations: 17.06 kB / 409 MB, free: 1.383 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3312, allocations: 0 / 409 MB, free: 1.383 MB / 318.1 MB Notification: Performance of Templates: time 0.006387/0.3375, allocations: 2.49 MB / 411.5 MB, free: 0.5 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.798690505325794]