Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001148/0.001148, allocations: 112.3 kB / 17.74 MB, free: 5.293 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.001178/0.001178, allocations: 187 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 55.91 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2404, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004004/0.2445, allocations: 2.522 MB / 403.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2458, allocations: 0.6505 MB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.246, allocations: 4 kB / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.2462, allocations: 31.59 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.2465, allocations: 71.34 kB / 404.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.2468, allocations: 83.83 kB / 404.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.2472, allocations: 274.8 kB / 405 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.2474, allocations: 96.27 kB / 405.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2477, allocations: 115.5 kB / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.2479, allocations: 119.5 kB / 405.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.248, allocations: 24 kB / 405.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2481, allocations: 35.98 kB / 405.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.2481, allocations: 47.84 kB / 405.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2483, allocations: 127.4 kB / 405.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.2486, allocations: 272.2 kB / 405.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2487, allocations: 0 / 405.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2487, allocations: 4 kB / 405.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2487, allocations: 7.938 kB / 405.9 MB, free: 4.387 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.0008846/0.2496, allocations: 0.5185 MB / 406.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2496, allocations: 8.031 kB / 406.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.2497, allocations: 32.64 kB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.2501, allocations: 247.7 kB / 406.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2501, allocations: 16.81 kB / 406.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.2502, allocations: 20.38 kB / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.2505, allocations: 191.6 kB / 406.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2506, allocations: 0 / 406.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2506, allocations: 11.98 kB / 406.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2506, allocations: 4 kB / 406.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.2509, allocations: 149.6 kB / 407 MB, free: 3.105 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.001391/0.2523, allocations: 0.9296 MB / 408 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.2527, allocations: 161.9 kB / 408.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.2529, allocations: 92.81 kB / 408.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2529, allocations: 4 kB / 408.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.2529, allocations: 38.5 kB / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.2529, allocations: 0 / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001265/0.2542, allocations: 423.3 kB / 408.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2543, allocations: 55.41 kB / 408.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2544, allocations: 171.5 kB / 408.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.2545, allocations: 29.7 kB / 408.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2546, allocations: 148.1 kB / 409.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.2546, allocations: 59.19 kB / 409.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.2547, allocations: 41.61 kB / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2548, allocations: 334.8 kB / 409.5 MB, free: 456 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.255, allocations: 51.97 kB / 409.6 MB, free: 404 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2551, allocations: 71 kB / 409.6 MB, free: 328 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.2553, allocations: 128.7 kB / 409.7 MB, free: 196 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2553, allocations: 7.938 kB / 409.8 MB, free: 188 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00042/0.2558, allocations: 218.2 kB / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2558, allocations: 4 kB / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2558, allocations: 4 kB / 410 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.2572, allocations: 216.6 kB / 410.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2573, allocations: 35.97 kB / 410.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004889/0.2578, allocations: 0.6069 MB / 410.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.258, allocations: 19.81 kB / 410.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.258, allocations: 4 kB / 410.9 MB, free: 15.05 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.0001248/0.2581, allocations: 129.8 kB / 411 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.2582, allocations: 19.97 kB / 411 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.2586, allocations: 234.7 kB / 411.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2587, allocations: 4 kB / 411.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2587, allocations: 0 / 411.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2587, allocations: 0 / 411.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.2596, allocations: 0.6004 MB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2596, allocations: 3.984 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2598, allocations: 35.86 kB / 411.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.2608, allocations: 200.7 kB / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.2609, allocations: 4 kB / 412.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004456/0.2613, allocations: 0.6226 MB / 412.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2613, allocations: 0 / 412.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.2621, allocations: 423.1 kB / 413.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.2622, allocations: 104.8 kB / 413.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.2622, allocations: 4 kB / 413.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2624, allocations: 8 kB / 413.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2624, allocations: 15.83 kB / 413.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.2625, allocations: 8 kB / 413.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.946e-05/0.2626, allocations: 132.3 kB / 413.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2626, allocations: 96 / 413.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000315/0.2629, allocations: 63.84 kB / 413.4 MB, free: 12.31 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.0001614/0.2631, allocations: 115.2 kB / 413.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.2635, allocations: 151.8 kB / 413.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2635, allocations: 0 / 413.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.2637, allocations: 83.89 kB / 413.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.264, allocations: 34.45 kB / 413.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.265, allocations: 0.5811 MB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2653, allocations: 0.7361 MB / 415.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.2654, allocations: 15.44 kB / 415.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2654, allocations: 0 / 415.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Templates: time 0.005082/0.2705, allocations: 3.112 MB / 418.3 MB, free: 7.418 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches