Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 121.4 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 189.2 kB / 21.39 MB, free: 1.543 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.468/1.468, allocations: 207.6 MB / 231.8 MB, free: 4.195 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.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 59.91 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003876/0.1062, allocations: 2.13 MB / 393.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1072, allocations: 0.5074 MB / 394 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1073, allocations: 7.938 kB / 394 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1075, allocations: 19.78 kB / 394 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1076, allocations: 43.64 kB / 394.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1079, allocations: 39.88 kB / 394.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1082, allocations: 167.2 kB / 394.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1084, allocations: 41.41 kB / 394.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1085, allocations: 71.7 kB / 394.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1087, allocations: 59.77 kB / 394.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1087, allocations: 12 kB / 394.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.1088, allocations: 20 kB / 394.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.1088, allocations: 23.86 kB / 394.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.1089, allocations: 71.67 kB / 394.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1092, allocations: 163.3 kB / 394.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1092, allocations: 0 / 394.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1092, allocations: 0 / 394.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1092, allocations: 8 kB / 394.8 MB, free: 5.34 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007816/0.11, allocations: 443 kB / 395.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1101, allocations: 11.97 kB / 395.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1101, allocations: 46.73 kB / 395.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1102, allocations: 16.84 kB / 395.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1106, allocations: 212.1 kB / 395.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.1106, allocations: 12.61 kB / 395.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1106, allocations: 20.31 kB / 395.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1109, allocations: 116.6 kB / 395.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1109, allocations: 0 / 395.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1109, allocations: 4 kB / 395.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1109, allocations: 4 kB / 395.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1111, allocations: 80.66 kB / 395.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.1121, allocations: 0.6051 MB / 396.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1124, allocations: 82.61 kB / 396.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.1125, allocations: 28.97 kB / 396.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1125, allocations: 0 / 396.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1126, allocations: 30.56 kB / 396.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.1126, allocations: 4 kB / 396.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007558/0.1133, allocations: 259.4 kB / 396.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1134, allocations: 55.41 kB / 396.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1135, allocations: 153.7 kB / 396.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1135, allocations: 25.7 kB / 396.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.1136, allocations: 120.1 kB / 397 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1137, allocations: 23.78 kB / 397.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.1137, allocations: 21.72 kB / 397.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1139, allocations: 318.8 kB / 397.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.1139, allocations: 31.92 kB / 397.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.114, allocations: 42.56 kB / 397.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1142, allocations: 70.5 kB / 397.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1142, allocations: 0 / 397.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003043/0.1145, allocations: 146.3 kB / 397.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1145, allocations: 7.938 kB / 397.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1145, allocations: 4 kB / 397.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.1147, allocations: 32.84 kB / 397.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.1148, allocations: 11.98 kB / 397.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.1168, allocations: 1.698 MB / 399.4 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.1169, allocations: 7.984 kB / 399.4 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1169, allocations: 4 kB / 399.5 MB, free: 196 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.117, allocations: 117.8 kB / 399.6 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1171, allocations: 11.89 kB / 399.6 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.1171, allocations: 16.7 kB / 399.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1171, allocations: 0 / 399.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1171, allocations: 4 kB / 399.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1171, allocations: 0 / 399.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.1174, allocations: 213.6 kB / 399.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1174, allocations: 3.938 kB / 399.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.1174, allocations: 4 kB / 399.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.1175, allocations: 36.83 kB / 399.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1176, allocations: 48 / 399.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.1191, allocations: 1.685 MB / 401.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1191, allocations: 4.062 kB / 401.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1195, allocations: 212.2 kB / 401.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1195, allocations: 89.05 kB / 401.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1196, allocations: 0 / 401.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.1197, allocations: 4 kB / 401.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1197, allocations: 15.98 kB / 401.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1197, allocations: 0 / 401.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.764e-05/0.1198, allocations: 111.2 kB / 402 MB, free: 13.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1198, allocations: 3.938 kB / 402 MB, free: 13.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1202, allocations: 39.89 kB / 402 MB, free: 13.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006916/0.1209, allocations: 0.7444 MB / 402.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.1213, allocations: 198.5 kB / 402.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1213, allocations: 0 / 402.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1215, allocations: 146.8 kB / 403.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1218, allocations: 23.78 kB / 403.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1239, allocations: 1.718 MB / 404.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1243, allocations: 0.7041 MB / 405.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.1243, allocations: 16.36 kB / 405.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.1244, allocations: 27.44 kB / 405.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1244, allocations: 0 / 405.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.1566, allocations: 3.052 MB / 408.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.73, allocations: 7.953 kB / 408.6 MB, free: 6.531 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.184253037441522]