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.001456/0.001456, allocations: 102.3 kB / 17.74 MB, free: 5.336 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.001721/0.001721, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009987/0.0009987, allocations: 51.88 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2244, allocations: 49.43 MB / 401.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003348/0.2278, allocations: 2.514 MB / 403.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2289, allocations: 0.6544 MB / 404.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.229, allocations: 4 kB / 404.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2291, allocations: 39.58 kB / 404.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2293, allocations: 71.34 kB / 404.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.2296, allocations: 87.83 kB / 404.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2299, allocations: 270.8 kB / 405 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.23, allocations: 88.34 kB / 405.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.2302, allocations: 115.5 kB / 405.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2304, allocations: 119.5 kB / 405.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.2304, allocations: 24 kB / 405.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.2305, allocations: 35.98 kB / 405.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2306, allocations: 47.84 kB / 405.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2307, allocations: 123.5 kB / 405.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.231, allocations: 276.3 kB / 405.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.231, allocations: 3.938 kB / 405.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.231, allocations: 0 / 405.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.231, allocations: 0 / 405.9 MB, free: 4.539 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.0008027/0.2318, allocations: 0.5333 MB / 406.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2319, allocations: 12.02 kB / 406.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.232, allocations: 28.66 kB / 406.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.2323, allocations: 235.8 kB / 406.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2323, allocations: 12.81 kB / 406.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.2323, allocations: 20.38 kB / 406.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.2327, allocations: 203.5 kB / 406.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2328, allocations: 0 / 406.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.2328, allocations: 8 kB / 406.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2328, allocations: 4 kB / 406.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.2331, allocations: 157.6 kB / 407.1 MB, free: 3.246 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.00131/0.2345, allocations: 0.9256 MB / 408 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.2348, allocations: 154.6 kB / 408.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.235, allocations: 100.8 kB / 408.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.235, allocations: 7.984 kB / 408.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.235, allocations: 34.5 kB / 408.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.814e-06/0.2351, allocations: 0 / 408.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.2363, allocations: 419.3 kB / 408.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2363, allocations: 59.41 kB / 408.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2365, allocations: 179.5 kB / 408.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2365, allocations: 25.7 kB / 408.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.2366, allocations: 152.1 kB / 409.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2367, allocations: 51.2 kB / 409.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.2367, allocations: 37.61 kB / 409.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2369, allocations: 326.8 kB / 409.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.237, allocations: 55.91 kB / 409.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2371, allocations: 75.19 kB / 409.6 MB, free: 476 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.2373, allocations: 129.6 kB / 409.8 MB, free: 340 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2374, allocations: 4 kB / 409.8 MB, free: 336 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003917/0.2378, allocations: 210.2 kB / 410 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2378, allocations: 10.97 kB / 410 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2378, allocations: 4.031 kB / 410 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.2391, allocations: 216.5 kB / 410.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2393, allocations: 35.97 kB / 410.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/0.2397, allocations: 0.6147 MB / 410.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2399, allocations: 11.88 kB / 410.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2399, allocations: 8 kB / 410.9 MB, free: 15.19 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.0001239/0.24, allocations: 137.8 kB / 411 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2401, allocations: 15.84 kB / 411 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.2405, allocations: 226.8 kB / 411.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2406, allocations: 4 kB / 411.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2406, allocations: 0 / 411.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.2406, allocations: 100.8 kB / 411.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.2407, allocations: 8 kB / 411.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2408, allocations: 11.94 kB / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.2409, allocations: 7.984 kB / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008303/0.2417, allocations: 349.4 kB / 411.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005065/0.2422, allocations: 428.8 kB / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001191/0.2424, allocations: 55.97 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.938e-05/0.2425, allocations: 128.3 kB / 412.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.2425, allocations: 0 / 412.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.2431, allocations: 198.1 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of SimCode: time 0.001097/0.2442, allocations: 1.042 MB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Templates: time 0.005752/0.25, allocations: 2.567 MB / 416.1 MB, free: 9.852 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