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.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.001369/0.001369, allocations: 114.7 kB / 19.16 MB, free: 3.781 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.001394/0.001394, allocations: 211.8 kB / 22.12 MB, free: 0.832 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.526/1.526, allocations: 207.6 MB / 232.5 MB, free: 3.91 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.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",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.001768/0.001768, allocations: 47.94 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09718, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003767/0.101, allocations: 2.143 MB / 394.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.102, allocations: 0.5074 MB / 394.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.1021, allocations: 4 kB / 394.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1022, allocations: 23.78 kB / 394.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.842e-05/0.1023, allocations: 43.58 kB / 394.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1025, allocations: 39.89 kB / 394.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.1027, allocations: 159.2 kB / 395 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1029, allocations: 53.33 kB / 395.1 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.103, allocations: 55.78 kB / 395.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1031, allocations: 67.7 kB / 395.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1031, allocations: 19.98 kB / 395.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.1032, allocations: 16 kB / 395.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.1033, allocations: 31.86 kB / 395.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.713e-05/0.1033, allocations: 67.67 kB / 395.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1036, allocations: 163.3 kB / 395.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1036, allocations: 0 / 395.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1036, allocations: 0 / 395.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1036, allocations: 0 / 395.5 MB, free: 5.289 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.0006824/0.1043, allocations: 447 kB / 395.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1043, allocations: 8.031 kB / 395.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.957e-05/0.1044, allocations: 4.422 kB / 395.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.1044, allocations: 46.73 kB / 396 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.1045, allocations: 20.78 kB / 396 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.1048, allocations: 212.1 kB / 396.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1048, allocations: 8.609 kB / 396.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1048, allocations: 8.375 kB / 396.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1051, allocations: 136.3 kB / 396.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1051, allocations: 0 / 396.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1051, allocations: 4 kB / 396.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1051, allocations: 7.938 kB / 396.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1053, allocations: 76.66 kB / 396.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009153/0.1063, allocations: 0.5932 MB / 397 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1066, allocations: 86.56 kB / 397.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.1066, allocations: 28.97 kB / 397.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1067, allocations: 4 kB / 397.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.1067, allocations: 30.56 kB / 397.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1067, allocations: 0 / 397.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007631/0.1075, allocations: 263.4 kB / 397.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1075, allocations: 55.39 kB / 397.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1077, allocations: 153.7 kB / 397.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1077, allocations: 25.7 kB / 397.7 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.1078, allocations: 124.1 kB / 397.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1078, allocations: 27.78 kB / 397.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1078, allocations: 17.72 kB / 397.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.108, allocations: 322.8 kB / 398.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.1081, allocations: 23.98 kB / 398.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.915e-05/0.1082, allocations: 50.5 kB / 398.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1083, allocations: 62.56 kB / 398.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1083, allocations: 3.938 kB / 398.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003152/0.1086, allocations: 146.3 kB / 398.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1086, allocations: 8 kB / 398.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1086, allocations: 0 / 398.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.1088, allocations: 36.84 kB / 398.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.1089, allocations: 7.984 kB / 398.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.1107, allocations: 1.693 MB / 400.2 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.1108, allocations: 16.02 kB / 400.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1108, allocations: 0 / 400.2 MB, free: 136 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.000124/0.1109, allocations: 121.8 kB / 400.3 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.111, allocations: 15.88 kB / 400.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.111, allocations: 12.91 kB / 400.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.111, allocations: 4 kB / 400.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.111, allocations: 3.938 kB / 400.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.111, allocations: 0 / 400.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1113, allocations: 213.5 kB / 400.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1113, allocations: 4 kB / 400.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.1113, allocations: 7.984 kB / 400.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.1114, allocations: 32.84 kB / 400.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1115, allocations: 4 kB / 400.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.1131, allocations: 1.678 MB / 402.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1131, allocations: 4.031 kB / 402.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.1134, allocations: 220.2 kB / 402.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.1135, allocations: 81.06 kB / 402.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1135, allocations: 4 kB / 402.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.1136, allocations: 4 kB / 402.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1136, allocations: 12.02 kB / 402.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1137, allocations: 4 kB / 402.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1138, allocations: 115.2 kB / 402.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1138, allocations: 0 / 402.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.1141, allocations: 43.89 kB / 402.8 MB, free: 13.33 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.0007157/0.1149, allocations: 0.7444 MB / 403.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.1153, allocations: 198.5 kB / 403.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1153, allocations: 0 / 403.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.1156, allocations: 154.7 kB / 403.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1158, allocations: 11.86 kB / 403.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.118, allocations: 1.718 MB / 405.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1184, allocations: 0.7041 MB / 406.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.1185, allocations: 12.42 kB / 406.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.1185, allocations: 31.42 kB / 406.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1185, allocations: 0 / 406.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1443, allocations: 3.091 MB / 409.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.15, allocations: 8 kB / 409.4 MB, free: 6.426 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.759018176991958]