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.001838/0.001838, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001567/0.001567, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 15.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 53.38 MB / 427.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00511/0.1155, allocations: 2.56 MB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1172, allocations: 0.6973 MB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1175, allocations: 7.938 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1177, allocations: 31.66 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1179, allocations: 79.34 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.1183, allocations: 95.75 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.1188, allocations: 282.7 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.119, allocations: 56.38 kB / 430.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.1194, allocations: 119.6 kB / 431 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1195, allocations: 119.5 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1196, allocations: 20 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1197, allocations: 43.98 kB / 431.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1198, allocations: 51.83 kB / 431.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1199, allocations: 123.4 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.1204, allocations: 286.8 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1204, allocations: 0 / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1204, allocations: 0 / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1204, allocations: 0 / 431.6 MB, free: 144 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.001011/0.1214, allocations: 0.5455 MB / 432.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.1215, allocations: 11.97 kB / 432.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.232e-05/0.1215, allocations: 4.625 kB / 432.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.1216, allocations: 54.73 kB / 432.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1218, allocations: 40.73 kB / 432.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.1222, allocations: 240 kB / 432.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.1222, allocations: 24.75 kB / 432.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.1222, allocations: 20.38 kB / 432.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.1226, allocations: 187.2 kB / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1226, allocations: 0 / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1227, allocations: 8 kB / 432.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1227, allocations: 4 kB / 432.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.1231, allocations: 153.6 kB / 432.9 MB, free: 14.76 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.001591/0.1247, allocations: 0.9377 MB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.125, allocations: 146.6 kB / 434 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.1252, allocations: 92.8 kB / 434.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1253, allocations: 7.938 kB / 434.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1253, allocations: 34.5 kB / 434.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/0.1253, allocations: 0 / 434.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001409/0.1267, allocations: 421.6 kB / 434.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.1268, allocations: 51.41 kB / 434.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.127, allocations: 180 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.127, allocations: 29.7 kB / 434.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1271, allocations: 152.3 kB / 434.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1272, allocations: 63.44 kB / 435 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.1273, allocations: 37.7 kB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1275, allocations: 326.8 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1276, allocations: 59.97 kB / 435.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1277, allocations: 65.69 kB / 435.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.128, allocations: 124.4 kB / 435.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.128, allocations: 0 / 435.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004562/0.1284, allocations: 226.3 kB / 435.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1285, allocations: 7.938 kB / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1285, allocations: 0 / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.13, allocations: 216.6 kB / 436 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.1301, allocations: 31.97 kB / 436.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007068/0.1308, allocations: 0.6109 MB / 436.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.131, allocations: 15.89 kB / 436.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.131, allocations: 4 kB / 436.7 MB, free: 10.71 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.000219/0.1312, allocations: 133.8 kB / 436.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.1312, allocations: 15.91 kB / 436.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005816/0.1318, allocations: 232.3 kB / 437.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1318, allocations: 7.938 kB / 437.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1318, allocations: 0 / 437.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1319, allocations: 0 / 437.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1329, allocations: 0.5935 MB / 437.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1329, allocations: 4.031 kB / 437.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1331, allocations: 35.91 kB / 437.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.1343, allocations: 196.6 kB / 437.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1343, allocations: 4 kB / 437.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006729/0.135, allocations: 0.6225 MB / 438.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.135, allocations: 4.062 kB / 438.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.1359, allocations: 423.8 kB / 438.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.136, allocations: 101 kB / 439 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1361, allocations: 11.98 kB / 439 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1362, allocations: 7.938 kB / 439.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.1363, allocations: 11.98 kB / 439.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1363, allocations: 4 kB / 439.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1364, allocations: 136.1 kB / 439.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1364, allocations: 0 / 439.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1368, allocations: 55.89 kB / 439.3 MB, free: 7.988 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.001314/0.1381, allocations: 0.9599 MB / 440.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.1385, allocations: 143.7 kB / 440.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1386, allocations: 0 / 440.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.1388, allocations: 77.61 kB / 440.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1391, allocations: 30.77 kB / 440.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.1426, allocations: 2.347 MB / 442.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.1431, allocations: 0.7397 MB / 443.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.817e-05/0.1431, allocations: 9.547 kB / 443.6 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.1432, allocations: 59.42 kB / 443.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of SimCode: time 1.233e-06/0.1432, allocations: 0 / 443.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/0.3596, allocations: 4.863 MB / 448.5 MB, free: 24.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.22, allocations: 4.297 kB / 448.5 MB, free: 24.67 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.937667190970387]