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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 110.4 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB 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.001218/0.001218, allocations: 51.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 46.61 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003604/0.1061, allocations: 2.466 MB / 377.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1074, allocations: 0.6708 MB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1075, allocations: 4 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.1077, allocations: 39.64 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.1078, allocations: 71.34 kB / 378.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1081, allocations: 79.84 kB / 378.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1084, allocations: 274.6 kB / 378.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1086, allocations: 88.33 kB / 378.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1088, allocations: 111.6 kB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.109, allocations: 115.5 kB / 379 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1091, allocations: 20 kB / 379.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1092, allocations: 39.98 kB / 379.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1092, allocations: 47.83 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1094, allocations: 123.4 kB / 379.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.1097, allocations: 287 kB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1097, allocations: 0 / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1097, allocations: 0 / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1097, allocations: 4 kB / 379.6 MB, free: 156 kB / 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.2158/0.3256, allocations: 0.5162 MB / 380.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.526e-05/0.3257, allocations: 9.094 kB / 380.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.3258, allocations: 26.34 kB / 380.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.3264, allocations: 238.2 kB / 380.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3264, allocations: 17 kB / 380.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.3265, allocations: 25.58 kB / 380.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.327, allocations: 186.1 kB / 380.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.327, allocations: 3.938 kB / 380.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.3271, allocations: 9.375 kB / 380.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3271, allocations: 4.125 kB / 380.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.3274, allocations: 155.6 kB / 380.7 MB, free: 10.7 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.001373/0.3288, allocations: 0.9336 MB / 381.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.3291, allocations: 149 kB / 381.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3293, allocations: 96.41 kB / 381.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3294, allocations: 5.734 kB / 381.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3294, allocations: 42.34 kB / 381.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3294, allocations: 0 / 381.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001284/0.3307, allocations: 416.8 kB / 382.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.3307, allocations: 54.34 kB / 382.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3309, allocations: 170.7 kB / 382.6 MB, free: 9.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3309, allocations: 28.98 kB / 382.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.331, allocations: 144.8 kB / 382.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.3311, allocations: 63.36 kB / 382.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.3311, allocations: 38.53 kB / 382.8 MB, free: 9.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.3312, allocations: 327.8 kB / 383.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3314, allocations: 52.58 kB / 383.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3315, allocations: 71.81 kB / 383.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.3318, allocations: 129.9 kB / 383.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3318, allocations: 3.172 kB / 383.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004157/0.3322, allocations: 220.1 kB / 383.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3323, allocations: 6.656 kB / 383.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3323, allocations: 0 / 383.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.3336, allocations: 224.5 kB / 383.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.3338, allocations: 32.62 kB / 383.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004202/0.3342, allocations: 0.6052 MB / 384.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3343, allocations: 20.2 kB / 384.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3343, allocations: 6.656 kB / 384.5 MB, free: 8.59 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.689e-05/0.3344, allocations: 136.8 kB / 384.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.3345, allocations: 16.38 kB / 384.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.3349, allocations: 224.2 kB / 384.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3349, allocations: 2.031 kB / 384.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3349, allocations: 5.188 kB / 384.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.335, allocations: 1.078 kB / 384.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008179/0.3358, allocations: 0.5867 MB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3358, allocations: 0.5156 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.3359, allocations: 30.39 kB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.337, allocations: 207.7 kB / 385.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.337, allocations: 5.719 kB / 385.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003769/0.3374, allocations: 0.6203 MB / 386.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3374, allocations: 4.031 kB / 386.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.3382, allocations: 432.7 kB / 386.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3382, allocations: 90.28 kB / 386.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.3383, allocations: 3.078 kB / 386.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3384, allocations: 13.39 kB / 386.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.3385, allocations: 25.14 kB / 386.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3386, allocations: 9.656 kB / 386.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3387, allocations: 128.2 kB / 387 MB, free: 7.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3388, allocations: 0 / 387 MB, free: 7.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.3392, allocations: 59.22 kB / 387.1 MB, free: 7.059 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.000229/0.3394, allocations: 117.2 kB / 387.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.3399, allocations: 147 kB / 387.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.3399, allocations: 1.062 kB / 387.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.3402, allocations: 88.31 kB / 387.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3406, allocations: 31.56 kB / 387.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3418, allocations: 0.5398 MB / 388 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3421, allocations: 0.7381 MB / 388.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.159e-05/0.3422, allocations: 9.438 kB / 388.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.3422, allocations: 19.19 kB / 388.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3423, allocations: 0 / 388.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of Templates: time 0.00704/0.3493, allocations: 2.574 MB / 391.3 MB, free: 5.629 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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) 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) Reference file matches