Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.00147, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2351, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003608/0.2387, allocations: 2.539 MB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.24, allocations: 0.6934 MB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2402, allocations: 7.938 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.2403, allocations: 35.64 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2405, allocations: 71.34 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.2408, allocations: 95.81 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.2411, allocations: 282.6 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2413, allocations: 92.33 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2415, allocations: 107.6 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2417, allocations: 115.4 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.2417, allocations: 24 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2418, allocations: 43.98 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.2419, allocations: 51.83 kB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.242, allocations: 119.4 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2423, allocations: 296.1 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2423, allocations: 0 / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2423, allocations: 3.938 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2424, allocations: 0 / 414.5 MB, free: 13.03 MB / 334.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.0007852/0.2431, allocations: 0.534 MB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2432, allocations: 12.03 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.2434, allocations: 32.64 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2437, allocations: 240 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2437, allocations: 20.75 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.2438, allocations: 16.38 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2442, allocations: 195.6 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2442, allocations: 4 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.2442, allocations: 8 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2442, allocations: 4 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.2446, allocations: 149.7 kB / 415.7 MB, free: 11.74 MB / 334.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.00137/0.2459, allocations: 0.9334 MB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2463, allocations: 150.5 kB / 416.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.2465, allocations: 100.9 kB / 416.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2465, allocations: 4 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2465, allocations: 34.55 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.2466, allocations: 4 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001283/0.2478, allocations: 419.3 kB / 417.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.2479, allocations: 51.41 kB / 417.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2481, allocations: 176.9 kB / 417.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2481, allocations: 37.7 kB / 417.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.2482, allocations: 148.1 kB / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.2483, allocations: 59.11 kB / 417.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.2483, allocations: 37.7 kB / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2485, allocations: 334.7 kB / 418.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2486, allocations: 51.97 kB / 418.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2487, allocations: 69.06 kB / 418.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.249, allocations: 127.9 kB / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.249, allocations: 3.984 kB / 418.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004141/0.2494, allocations: 224.9 kB / 418.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2494, allocations: 4 kB / 418.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2495, allocations: 4 kB / 418.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.2508, allocations: 220.6 kB / 418.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.251, allocations: 39.91 kB / 418.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/0.2515, allocations: 0.6108 MB / 419.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2516, allocations: 16 kB / 419.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2516, allocations: 4 kB / 419.5 MB, free: 7.672 MB / 334.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.0001282/0.2517, allocations: 137.7 kB / 419.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.2518, allocations: 23.8 kB / 419.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.2523, allocations: 228.2 kB / 419.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2523, allocations: 4 kB / 419.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2523, allocations: 4 kB / 419.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.2523, allocations: 0 / 419.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.2532, allocations: 0.5922 MB / 420.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2532, allocations: 7.938 kB / 420.5 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2534, allocations: 27.92 kB / 420.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.2545, allocations: 208.6 kB / 420.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2545, allocations: 4 kB / 420.7 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.255, allocations: 0.6187 MB / 421.3 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.255, allocations: 0 / 421.3 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.2558, allocations: 420.8 kB / 421.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.2559, allocations: 104.8 kB / 421.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.2559, allocations: 4 kB / 421.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2561, allocations: 8 kB / 421.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2561, allocations: 12.05 kB / 421.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2561, allocations: 8 kB / 421.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.2563, allocations: 136.1 kB / 422 MB, free: 5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2563, allocations: 0 / 422 MB, free: 5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000322/0.2566, allocations: 59.84 kB / 422.1 MB, free: 4.941 MB / 334.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.0001698/0.2568, allocations: 111.2 kB / 422.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.2572, allocations: 150.6 kB / 422.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2572, allocations: 0 / 422.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2574, allocations: 87.89 kB / 422.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2577, allocations: 39.95 kB / 422.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009434/0.2587, allocations: 0.5656 MB / 423 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.259, allocations: 0.74 MB / 423.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.259, allocations: 19.42 kB / 423.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2591, allocations: 0 / 423.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of Templates: time 0.004919/0.264, allocations: 3.144 MB / 426.9 MB, free: 20 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches