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.001929/0.001929, allocations: 112.2 kB / 21.94 MB, free: 12 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.002951/0.002951, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.608/1.608, allocations: 207.6 MB / 236 MB, free: 10.88 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.002024/0.002024, allocations: 59.91 kB / 348.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 49.16 MB / 397.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003816/0.3311, allocations: 2.477 MB / 400.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3324, allocations: 0.6939 MB / 400.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.3326, allocations: 3.375 kB / 400.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3328, allocations: 38.58 kB / 400.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3329, allocations: 65.3 kB / 400.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3332, allocations: 90.27 kB / 401 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.3336, allocations: 278 kB / 401.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3338, allocations: 65.27 kB / 401.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.334, allocations: 113.8 kB / 401.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.3342, allocations: 112.2 kB / 401.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.3342, allocations: 23.16 kB / 401.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3343, allocations: 35.41 kB / 401.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.3344, allocations: 51.45 kB / 401.6 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3345, allocations: 121 kB / 401.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.3349, allocations: 285.4 kB / 402 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3349, allocations: 1.188 kB / 402 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3349, allocations: 0 / 402 MB, free: 6.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.3349, allocations: 0 / 402 MB, free: 6.688 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.0008697/0.3358, allocations: 466.6 kB / 402.5 MB, free: 6.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3358, allocations: 18.14 kB / 402.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.3359, allocations: 26.42 kB / 402.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.3363, allocations: 187.4 kB / 402.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3363, allocations: 16.62 kB / 402.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.3363, allocations: 19.17 kB / 402.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.3367, allocations: 194.4 kB / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3367, allocations: 0 / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3368, allocations: 6.25 kB / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3368, allocations: 4.594 kB / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.3371, allocations: 158.1 kB / 403.1 MB, free: 5.953 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.001321/0.3384, allocations: 0.8824 MB / 404 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.3387, allocations: 145.2 kB / 404.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.3389, allocations: 91.78 kB / 404.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3389, allocations: 2.125 kB / 404.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3389, allocations: 31.62 kB / 404.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.339, allocations: 0 / 404.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001261/0.3402, allocations: 346.9 kB / 404.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.3402, allocations: 57.38 kB / 404.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3404, allocations: 167 kB / 404.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3404, allocations: 30.92 kB / 404.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3405, allocations: 147.6 kB / 405 MB, free: 4.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3405, allocations: 66.27 kB / 405 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.3406, allocations: 42.64 kB / 405.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.3407, allocations: 330.6 kB / 405.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3408, allocations: 51.58 kB / 405.5 MB, free: 4.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3409, allocations: 69.14 kB / 405.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3411, allocations: 120 kB / 405.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3411, allocations: 4 kB / 405.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003975/0.3415, allocations: 215.6 kB / 405.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3415, allocations: 14.02 kB / 405.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3415, allocations: 1.062 kB / 405.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.343, allocations: 220.6 kB / 406.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3431, allocations: 29.77 kB / 406.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.3436, allocations: 0.6075 MB / 406.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3437, allocations: 17.06 kB / 406.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3437, allocations: 4.969 kB / 406.7 MB, free: 3.363 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.0001415/0.3439, allocations: 139.4 kB / 406.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.3439, allocations: 15.16 kB / 406.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.3444, allocations: 226.6 kB / 407.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3444, allocations: 1.891 kB / 407.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3444, allocations: 1.375 kB / 407.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3444, allocations: 1.547 kB / 407.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/0.3453, allocations: 0.5676 MB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3453, allocations: 2.172 kB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.3454, allocations: 25.03 kB / 407.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.3466, allocations: 202 kB / 407.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3466, allocations: 5.969 kB / 407.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003514/0.3469, allocations: 0.6284 MB / 408.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3469, allocations: 0 / 408.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000796/0.3477, allocations: 427.5 kB / 409 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.3478, allocations: 21.97 kB / 409 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3478, allocations: 5.984 kB / 409 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3479, allocations: 7.141 kB / 409 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.348, allocations: 18.95 kB / 409 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.348, allocations: 4.125 kB / 409 MB, free: 1.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3481, allocations: 132.2 kB / 409.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3481, allocations: 4.062 kB / 409.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000344/0.3484, allocations: 59.2 kB / 409.2 MB, free: 1.68 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.0001505/0.3486, allocations: 103.7 kB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.349, allocations: 139.5 kB / 409.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.349, allocations: 0 / 409.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3492, allocations: 84.88 kB / 409.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3495, allocations: 25.84 kB / 409.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3506, allocations: 0.5866 MB / 410.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.3508, allocations: 0.7377 MB / 410.9 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.3508, allocations: 15.38 kB / 410.9 MB, free: 396 kB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3508, allocations: 0 / 410.9 MB, free: 396 kB / 318.1 MB Notification: Performance of Templates: time 0.006168/0.357, allocations: 3.071 MB / 414 MB, free: 15.17 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/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: 7.984180189203471]