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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009457/0.0009458, allocations: 182.7 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 224.2 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007617, allocations: 93.47 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08659/0.3171, allocations: 78.1 MB / 455.1 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.3174, allocations: 67.97 kB / 455.2 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.3283, allocations: 3.971 MB / 459.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3284, allocations: 4 kB / 459.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.3284, allocations: 4 kB / 459.2 MB, free: 14.38 MB / 346.7 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.0007471/0.3291, allocations: 499.1 kB / 459.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3292, allocations: 12.03 kB / 459.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.3293, allocations: 28.66 kB / 459.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3296, allocations: 240.6 kB / 459.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.3296, allocations: 16.81 kB / 459.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.3297, allocations: 20.28 kB / 460 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.33, allocations: 191.8 kB / 460.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3301, allocations: 3.938 kB / 460.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.3301, allocations: 8 kB / 460.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3301, allocations: 7.938 kB / 460.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.3304, allocations: 153.7 kB / 460.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.3319, allocations: 0.8671 MB / 461.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3323, allocations: 150.6 kB / 461.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3325, allocations: 100.8 kB / 461.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3325, allocations: 8 kB / 461.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3326, allocations: 30.56 kB / 461.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.023e-06/0.3326, allocations: 0 / 461.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001254/0.3338, allocations: 433.4 kB / 461.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3339, allocations: 59.34 kB / 462 MB, free: 11.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.334, allocations: 168.1 kB / 462.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3341, allocations: 29.7 kB / 462.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.3342, allocations: 152.1 kB / 462.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.3342, allocations: 55.11 kB / 462.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.3342, allocations: 4 kB / 462.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3344, allocations: 326.8 kB / 462.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3345, allocations: 55.91 kB / 462.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3346, allocations: 69.69 kB / 462.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3349, allocations: 136.8 kB / 462.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3349, allocations: 0 / 462.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004301/0.3353, allocations: 222.2 kB / 463.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3354, allocations: 4 kB / 463.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3354, allocations: 3.938 kB / 463.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.3367, allocations: 228.6 kB / 463.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3368, allocations: 27.98 kB / 463.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/0.3373, allocations: 0.6108 MB / 464 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3375, allocations: 20 kB / 464 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3375, allocations: 4 kB / 464 MB, free: 9.188 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.3376, allocations: 141.7 kB / 464.2 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3377, allocations: 15.81 kB / 464.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.3381, allocations: 228.2 kB / 464.4 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3381, allocations: 4 kB / 464.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3381, allocations: 3.938 kB / 464.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3382, allocations: 3.984 kB / 464.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.339, allocations: 0.5984 MB / 465 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.339, allocations: 0 / 465 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3392, allocations: 27.98 kB / 465.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.3402, allocations: 216.5 kB / 465.3 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3403, allocations: 11.98 kB / 465.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004845/0.3407, allocations: 0.6227 MB / 465.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3408, allocations: 0 / 465.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.3415, allocations: 406.5 kB / 466.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3416, allocations: 92.86 kB / 466.4 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3416, allocations: 4 kB / 466.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3418, allocations: 19.98 kB / 466.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3418, allocations: 11.92 kB / 466.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3418, allocations: 8 kB / 466.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.3419, allocations: 131.6 kB / 466.6 MB, free: 6.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3419, allocations: 0 / 466.6 MB, free: 6.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.3422, allocations: 63.83 kB / 466.6 MB, free: 6.453 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.3424, allocations: 115.2 kB / 466.7 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3427, allocations: 152.8 kB / 466.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3428, allocations: 4.062 kB / 466.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3429, allocations: 84.78 kB / 467 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3433, allocations: 24.84 kB / 467 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.3442, allocations: 0.6663 MB / 467.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3445, allocations: 0.744 MB / 468.4 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.3445, allocations: 9.562 kB / 468.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3446, allocations: 23.36 kB / 468.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3446, allocations: 0 / 468.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of Templates: time 0.004948/0.3495, allocations: 2.296 MB / 470.7 MB, free: 2.301 MB / 346.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches