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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 59.91 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004306/0.1194, allocations: 2.553 MB / 429.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1207, allocations: 0.705 MB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1209, allocations: 4 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.121, allocations: 39.59 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1212, allocations: 71.34 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1215, allocations: 99.81 kB / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1218, allocations: 278.6 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.122, allocations: 60.38 kB / 430.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.1222, allocations: 115.6 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1224, allocations: 111.5 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1224, allocations: 27.94 kB / 430.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.1225, allocations: 47.97 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.1226, allocations: 43.84 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1227, allocations: 127.4 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1231, allocations: 294.8 kB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1231, allocations: 0 / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1231, allocations: 0 / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1231, allocations: 0 / 431.2 MB, free: 440 kB / 350.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.0009436/0.124, allocations: 0.5377 MB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1241, allocations: 12.03 kB / 431.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.786e-05/0.1241, allocations: 54.73 kB / 431.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.1243, allocations: 36.73 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1247, allocations: 247.9 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.1247, allocations: 16.81 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.1248, allocations: 16.38 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.1251, allocations: 195.4 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1252, allocations: 4 kB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1252, allocations: 4 kB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1252, allocations: 8 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.1255, allocations: 149.7 kB / 432.5 MB, free: 15.06 MB / 366.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.001454/0.127, allocations: 0.9337 MB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.1273, allocations: 142.6 kB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1275, allocations: 88.81 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1275, allocations: 15.92 kB / 433.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1276, allocations: 30.56 kB / 433.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.1276, allocations: 4 kB / 433.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001272/0.1288, allocations: 411.5 kB / 434.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1289, allocations: 59.34 kB / 434.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1291, allocations: 179.5 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1291, allocations: 29.7 kB / 434.4 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1292, allocations: 152.2 kB / 434.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.1293, allocations: 67.42 kB / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.1293, allocations: 37.7 kB / 434.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1295, allocations: 330.8 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1296, allocations: 47.97 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1297, allocations: 69.69 kB / 435 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.13, allocations: 128.5 kB / 435.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.13, allocations: 4 kB / 435.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000407/0.1304, allocations: 218.3 kB / 435.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1304, allocations: 10.02 kB / 435.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1304, allocations: 7.938 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.1317, allocations: 212.6 kB / 435.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1319, allocations: 31.92 kB / 435.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005472/0.1324, allocations: 0.6109 MB / 436.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1326, allocations: 19.98 kB / 436.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1326, allocations: 4 kB / 436.3 MB, free: 11.01 MB / 366.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.0002095/0.1328, allocations: 137.7 kB / 436.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1328, allocations: 15.91 kB / 436.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.1333, allocations: 230.6 kB / 436.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1333, allocations: 0 / 436.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1333, allocations: 0 / 436.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1333, allocations: 4 kB / 436.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.1343, allocations: 0.5857 MB / 437.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1343, allocations: 7.938 kB / 437.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.1344, allocations: 31.97 kB / 437.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.1355, allocations: 200.6 kB / 437.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1355, allocations: 11.98 kB / 437.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000529/0.136, allocations: 0.6226 MB / 438.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.136, allocations: 0 / 438.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.1369, allocations: 420.9 kB / 438.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.137, allocations: 104.9 kB / 438.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.137, allocations: 0 / 438.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1371, allocations: 11.98 kB / 438.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.1372, allocations: 16.05 kB / 438.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1372, allocations: 8 kB / 438.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1373, allocations: 132.1 kB / 438.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1373, allocations: 0 / 438.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1376, allocations: 55.89 kB / 438.8 MB, free: 8.293 MB / 366.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.001236/0.1388, allocations: 0.9629 MB / 439.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.1392, allocations: 143.7 kB / 439.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1392, allocations: 4.062 kB / 440 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.1394, allocations: 81.98 kB / 440 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1398, allocations: 29.67 kB / 440.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.143, allocations: 2.332 MB / 442.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1434, allocations: 0.7358 MB / 443.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.892e-05/0.1435, allocations: 17.55 kB / 443.1 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.1436, allocations: 55.42 kB / 443.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1436, allocations: 3.938 kB / 443.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/0.3822, allocations: 4.825 MB / 448 MB, free: 24.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.22, allocations: 4.75 kB / 448 MB, free: 24.7 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.73428122419864]