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.001517/0.001517, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001583/0.001583, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.529/1.529, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001314/0.001315, allocations: 47.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003263/0.1067, allocations: 2.462 MB / 377.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.1077, allocations: 0.6747 MB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1078, allocations: 7.938 kB / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1079, allocations: 35.64 kB / 378.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1081, allocations: 71.41 kB / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1083, allocations: 83.78 kB / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1086, allocations: 278.6 kB / 378.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1088, allocations: 84.34 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.109, allocations: 107.6 kB / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1091, allocations: 119.5 kB / 379 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.1092, allocations: 23.94 kB / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.1093, allocations: 35.98 kB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.1093, allocations: 51.83 kB / 379.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1094, allocations: 119.5 kB / 379.3 MB, free: 424 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1097, allocations: 283 kB / 379.6 MB, free: 140 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1097, allocations: 4 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1097, allocations: 0 / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1097, allocations: 4 kB / 379.6 MB, free: 132 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.202/0.3118, allocations: 0.5147 MB / 380.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3118, allocations: 9 kB / 380.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.3119, allocations: 26.55 kB / 380.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3122, allocations: 241.3 kB / 380.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3122, allocations: 16.16 kB / 380.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.3122, allocations: 22.5 kB / 380.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.3126, allocations: 190.7 kB / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3127, allocations: 2.109 kB / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3127, allocations: 13.44 kB / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3127, allocations: 4.125 kB / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.313, allocations: 153.5 kB / 380.7 MB, free: 12.77 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.001219/0.3142, allocations: 0.927 MB / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3145, allocations: 151.5 kB / 381.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.3147, allocations: 99.64 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3148, allocations: 1.375 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.3148, allocations: 36.17 kB / 381.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.3148, allocations: 1.375 kB / 381.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001216/0.316, allocations: 416.4 kB / 382.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3161, allocations: 57.7 kB / 382.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3162, allocations: 170.4 kB / 382.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3162, allocations: 33.8 kB / 382.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.3163, allocations: 147.6 kB / 382.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.3164, allocations: 59.28 kB / 382.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.3164, allocations: 33.34 kB / 382.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.3165, allocations: 328.1 kB / 383.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3166, allocations: 51.58 kB / 383.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3168, allocations: 73.11 kB / 383.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3171, allocations: 132 kB / 383.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3171, allocations: 3.766 kB / 383.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004273/0.3175, allocations: 219.3 kB / 383.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3175, allocations: 4.562 kB / 383.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3175, allocations: 1.094 kB / 383.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.3188, allocations: 217.8 kB / 383.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3189, allocations: 38.28 kB / 383.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00035/0.3193, allocations: 0.6114 MB / 384.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/0.3194, allocations: 17.45 kB / 384.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3194, allocations: 7.562 kB / 384.5 MB, free: 10.38 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 8.806e-05/0.3195, allocations: 127.9 kB / 384.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.3196, allocations: 19.41 kB / 384.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.32, allocations: 226.6 kB / 384.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.32, allocations: 3.469 kB / 384.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.32, allocations: 4 kB / 384.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.32, allocations: 1.453 kB / 384.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.3208, allocations: 0.5899 MB / 385.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3208, allocations: 0 / 385.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.321, allocations: 34.53 kB / 385.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009647/0.322, allocations: 208.2 kB / 385.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.322, allocations: 2.641 kB / 385.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003198/0.3223, allocations: 0.6275 MB / 386.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3223, allocations: 0 / 386.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.323, allocations: 425.7 kB / 386.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.3231, allocations: 95.73 kB / 386.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3231, allocations: 1.938 kB / 386.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3232, allocations: 14.44 kB / 386.9 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.3233, allocations: 21.28 kB / 386.9 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3233, allocations: 4.875 kB / 386.9 MB, free: 8.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.3234, allocations: 133.2 kB / 387 MB, free: 8.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 0 / 387 MB, free: 8.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3237, allocations: 59.69 kB / 387.1 MB, free: 8.598 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.0001507/0.3239, allocations: 112.7 kB / 387.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.3243, allocations: 153.1 kB / 387.4 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3243, allocations: 0 / 387.4 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.3245, allocations: 86.33 kB / 387.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3248, allocations: 22.56 kB / 387.5 MB, free: 8.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.3258, allocations: 0.5526 MB / 388 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.3259, allocations: 0.7381 MB / 388.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.326, allocations: 9.75 kB / 388.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.326, allocations: 18.94 kB / 388.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3261, allocations: 0 / 388.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of Templates: time 0.006349/0.3324, allocations: 2.58 MB / 391.4 MB, free: 7.148 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