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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 113.5 kB / 19.16 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 203.8 kB / 22.12 MB, free: 0.9922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 207.6 MB / 232.5 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 51.94 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09961, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004484/0.1041, allocations: 2.478 MB / 394.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1055, allocations: 0.6864 MB / 395.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1056, allocations: 4 kB / 395.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1058, allocations: 31.64 kB / 395.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.106, allocations: 71.34 kB / 395.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1063, allocations: 79.84 kB / 395.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.1066, allocations: 282.6 kB / 395.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1068, allocations: 68.28 kB / 395.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.107, allocations: 115.6 kB / 395.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1072, allocations: 111.5 kB / 396 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.1072, allocations: 24 kB / 396.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.1073, allocations: 35.98 kB / 396.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1074, allocations: 47.84 kB / 396.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1075, allocations: 127.4 kB / 396.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.1079, allocations: 274.9 kB / 396.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1079, allocations: 0 / 396.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1079, allocations: 0 / 396.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1079, allocations: 0 / 396.5 MB, free: 4.273 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.000978/0.1089, allocations: 0.5299 MB / 397.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.109, allocations: 16.03 kB / 397.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.163e-05/0.109, allocations: 4.625 kB / 397.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.1091, allocations: 62.59 kB / 397.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.1091, allocations: 28.8 kB / 397.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.1095, allocations: 240.7 kB / 397.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1095, allocations: 16.81 kB / 397.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.1096, allocations: 19.94 kB / 397.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.11, allocations: 187.3 kB / 397.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.11, allocations: 8 kB / 397.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.11, allocations: 4 kB / 397.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.11, allocations: 4 kB / 397.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.1104, allocations: 153.6 kB / 397.8 MB, free: 2.914 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.001519/0.1119, allocations: 0.9297 MB / 398.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.1122, allocations: 138.6 kB / 398.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.1124, allocations: 84.81 kB / 398.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1125, allocations: 4 kB / 398.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.1125, allocations: 46.5 kB / 399 MB, free: 1.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1125, allocations: 0 / 399 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001412/0.1139, allocations: 419.4 kB / 399.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.114, allocations: 51.41 kB / 399.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1142, allocations: 166.4 kB / 399.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1142, allocations: 37.7 kB / 399.6 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1143, allocations: 148.2 kB / 399.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.1144, allocations: 67.42 kB / 399.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.1145, allocations: 33.7 kB / 399.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1146, allocations: 334.8 kB / 400.2 MB, free: 284 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1148, allocations: 43.98 kB / 400.3 MB, free: 240 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1149, allocations: 69.69 kB / 400.3 MB, free: 164 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.1152, allocations: 137.6 kB / 400.5 MB, free: 20 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1152, allocations: 0 / 400.5 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004739/0.1156, allocations: 218.2 kB / 400.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1157, allocations: 8 kB / 400.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1157, allocations: 0 / 400.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.1171, allocations: 216.6 kB / 400.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1172, allocations: 27.98 kB / 400.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005667/0.1178, allocations: 0.607 MB / 401.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1179, allocations: 19.91 kB / 401.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1179, allocations: 8.062 kB / 401.6 MB, free: 14.89 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.0001613/0.1181, allocations: 141.7 kB / 401.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.1181, allocations: 15.91 kB / 401.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.1186, allocations: 224.2 kB / 401.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1186, allocations: 3.984 kB / 401.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1187, allocations: 0 / 401.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1187, allocations: 11.88 kB / 401.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.1196, allocations: 0.5819 MB / 402.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1197, allocations: 0 / 402.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1198, allocations: 35.92 kB / 402.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.1209, allocations: 200.7 kB / 402.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1209, allocations: 4 kB / 402.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000547/0.1215, allocations: 0.6187 MB / 403.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1215, allocations: 4.031 kB / 403.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.1223, allocations: 420.8 kB / 403.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.1224, allocations: 96.98 kB / 403.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1224, allocations: 4 kB / 403.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1226, allocations: 12 kB / 403.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1226, allocations: 19.97 kB / 403.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1227, allocations: 8 kB / 403.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1228, allocations: 132.2 kB / 404.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1228, allocations: 0 / 404.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1231, allocations: 59.89 kB / 404.1 MB, free: 12.17 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.001277/0.1244, allocations: 0.968 MB / 405.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.1248, allocations: 135.9 kB / 405.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1248, allocations: 4.125 kB / 405.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.125, allocations: 87.81 kB / 405.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1254, allocations: 33.02 kB / 405.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1286, allocations: 2.299 MB / 407.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.129, allocations: 0.7358 MB / 408.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.387e-05/0.129, allocations: 13.55 kB / 408.4 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.1291, allocations: 59.41 kB / 408.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1291, allocations: 0 / 408.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.1573, allocations: 4.795 MB / 413.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.26, allocations: 8.156 kB / 413.3 MB, free: 2.828 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.95975774800172]