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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 106 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 189.3 kB / 24.47 MB, free: 4.094 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.512/1.512, allocations: 207.6 MB / 235.2 MB, free: 10.04 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 58.89 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2687, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003507/0.2722, allocations: 2.482 MB / 399.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000996/0.2732, allocations: 0.682 MB / 400 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2733, allocations: 11.38 kB / 400 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2735, allocations: 38.19 kB / 400 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.2736, allocations: 73.45 kB / 400.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2738, allocations: 78.08 kB / 400.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2741, allocations: 281.9 kB / 400.4 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2743, allocations: 61.02 kB / 400.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.2744, allocations: 110.8 kB / 400.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.2746, allocations: 120.9 kB / 400.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.2746, allocations: 21.78 kB / 400.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.2747, allocations: 40.23 kB / 400.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.2748, allocations: 51.36 kB / 400.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.2749, allocations: 115.5 kB / 401 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.2752, allocations: 283 kB / 401.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2752, allocations: 0 / 401.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2752, allocations: 1.609 kB / 401.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2752, allocations: 0 / 401.2 MB, free: 6.668 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.0006836/0.2759, allocations: 466.6 kB / 401.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2759, allocations: 17.02 kB / 401.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.276, allocations: 27.44 kB / 401.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2762, allocations: 187.2 kB / 401.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2762, allocations: 16.16 kB / 401.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.2763, allocations: 22.44 kB / 401.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.2766, allocations: 190.5 kB / 402.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2766, allocations: 4 kB / 402.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2767, allocations: 7.141 kB / 402.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2767, allocations: 4.125 kB / 402.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.277, allocations: 150.6 kB / 402.3 MB, free: 5.938 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.001162/0.2781, allocations: 0.8823 MB / 403.2 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.2784, allocations: 148.6 kB / 403.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.2786, allocations: 89.08 kB / 403.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.2786, allocations: 9.094 kB / 403.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2786, allocations: 36.59 kB / 403.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.2786, allocations: 0 / 403.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001122/0.2797, allocations: 344.9 kB / 403.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.2798, allocations: 53.59 kB / 403.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2799, allocations: 165.1 kB / 404 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2799, allocations: 35.05 kB / 404 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.28, allocations: 148.1 kB / 404.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.28, allocations: 66.72 kB / 404.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.2801, allocations: 37.84 kB / 404.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.2801, allocations: 326.9 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2802, allocations: 53.34 kB / 404.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2803, allocations: 68.92 kB / 404.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.2805, allocations: 123.8 kB / 404.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2805, allocations: 0 / 404.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003478/0.2809, allocations: 221.3 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2809, allocations: 9.594 kB / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2809, allocations: 0 / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.2822, allocations: 217.1 kB / 405.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.2823, allocations: 37.52 kB / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003383/0.2827, allocations: 0.6071 MB / 405.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2828, allocations: 17.61 kB / 405.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2828, allocations: 8.891 kB / 406 MB, free: 3.336 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 9.309e-05/0.2829, allocations: 138.4 kB / 406.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.2829, allocations: 17.03 kB / 406.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.2833, allocations: 221.3 kB / 406.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2833, allocations: 1.625 kB / 406.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2834, allocations: 1.344 kB / 406.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2834, allocations: 5.172 kB / 406.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.2841, allocations: 0.5691 MB / 406.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2841, allocations: 0 / 406.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.2843, allocations: 27.16 kB / 406.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.2853, allocations: 204.3 kB / 407.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2853, allocations: 6.625 kB / 407.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003239/0.2856, allocations: 0.6231 MB / 407.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2856, allocations: 1.688 kB / 407.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.2863, allocations: 423.2 kB / 408.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.2863, allocations: 18.56 kB / 408.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2864, allocations: 6.172 kB / 408.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2865, allocations: 10.81 kB / 408.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.2865, allocations: 18.38 kB / 408.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2865, allocations: 4.875 kB / 408.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.294e-05/0.2866, allocations: 132.9 kB / 408.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2866, allocations: 0 / 408.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000293/0.2869, allocations: 54.52 kB / 408.4 MB, free: 1.664 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.0001292/0.2871, allocations: 108.8 kB / 408.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.2874, allocations: 137.6 kB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2874, allocations: 1.375 kB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.2876, allocations: 84.5 kB / 408.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2879, allocations: 30.11 kB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.2888, allocations: 0.5554 MB / 409.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.289, allocations: 0.7371 MB / 410.1 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.289, allocations: 10.08 kB / 410.1 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.2891, allocations: 19.08 kB / 410.1 MB, free: 404 kB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2891, allocations: 0 / 410.1 MB, free: 404 kB / 318.1 MB Notification: Performance of Templates: time 0.006418/0.2955, allocations: 2.733 MB / 412.8 MB, free: 15.38 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/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.574334955774248]