Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.001271/0.001271, allocations: 114.5 kB / 18.45 MB, free: 4.602 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.001365/0.001365, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 47.92 kB / 366.8 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09648, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002922/0.0994, allocations: 1.635 MB / 420.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.1003, allocations: 0.5143 MB / 421.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1003, allocations: 0 / 421.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.1004, allocations: 11.92 kB / 421.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.1005, allocations: 27.7 kB / 421.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1007, allocations: 39.89 kB / 421.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1009, allocations: 99.52 kB / 421.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.101, allocations: 23.98 kB / 421.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.101, allocations: 27.94 kB / 421.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.1011, allocations: 47.83 kB / 421.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1011, allocations: 8 kB / 421.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.1012, allocations: 16 kB / 421.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.1012, allocations: 15.92 kB / 421.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.1013, allocations: 47.8 kB / 421.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1015, allocations: 103.6 kB / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1015, allocations: 0 / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1015, allocations: 4 kB / 421.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1015, allocations: 0 / 421.5 MB, free: 9.504 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005223/0.102, allocations: 381.6 kB / 421.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.102, allocations: 16.02 kB / 421.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1022, allocations: 8.891 kB / 421.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1023, allocations: 172.3 kB / 422.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1023, allocations: 8.375 kB / 422.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1024, allocations: 4.375 kB / 422.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1025, allocations: 97.92 kB / 422.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1025, allocations: 0 / 422.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1026, allocations: 4 kB / 422.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1026, allocations: 4 kB / 422.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1027, allocations: 59.89 kB / 422.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.1033, allocations: 392.5 kB / 422.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1035, allocations: 66.56 kB / 422.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1035, allocations: 40.78 kB / 422.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.1035, allocations: 0 / 422.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1035, allocations: 38.56 kB / 422.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.1035, allocations: 0 / 422.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002175/0.1038, allocations: 97.81 kB / 422.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1038, allocations: 59.41 kB / 423 MB, free: 7.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.1039, allocations: 101.8 kB / 423.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1039, allocations: 29.7 kB / 423.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.104, allocations: 95.98 kB / 423.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.104, allocations: 35.69 kB / 423.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.104, allocations: 29.7 kB / 423.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1042, allocations: 322.8 kB / 423.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.1042, allocations: 19.98 kB / 423.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1043, allocations: 50.56 kB / 423.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1044, allocations: 62.52 kB / 423.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1044, allocations: 0 / 423.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001565/0.1046, allocations: 97.62 kB / 423.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1046, allocations: 4 kB / 423.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1046, allocations: 4 kB / 423.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1046, allocations: 11.98 kB / 423.8 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1047, allocations: 24 kB / 423.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.1047, allocations: 3.938 kB / 423.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.1048, allocations: 11.89 kB / 423.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1048, allocations: 4 kB / 423.8 MB, free: 6.957 MB / 350.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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.1049, allocations: 121.8 kB / 424 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1049, allocations: 3.953 kB / 424 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1049, allocations: 12.38 kB / 424 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1049, allocations: 7.938 kB / 424 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1049, allocations: 0 / 424 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1049, allocations: 0 / 424 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1051, allocations: 189.6 kB / 424.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1051, allocations: 0 / 424.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.1052, allocations: 16 kB / 424.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1052, allocations: 4 kB / 424.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1053, allocations: 7.984 kB / 424.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1053, allocations: 7.875 kB / 424.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1053, allocations: 256 / 424.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1055, allocations: 187.5 kB / 424.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.1055, allocations: 85.12 kB / 424.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1055, allocations: 4 kB / 424.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.1056, allocations: 11.88 kB / 424.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.1056, allocations: 4 kB / 424.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1056, allocations: 0 / 424.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.1057, allocations: 87.27 kB / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1057, allocations: 0 / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1059, allocations: 24.02 kB / 424.6 MB, free: 6.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.106, allocations: 111.7 kB / 424.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1061, allocations: 52.42 kB / 424.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1061, allocations: 0 / 424.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.1062, allocations: 31.89 kB / 424.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1065, allocations: 10.5 kB / 424.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.1071, allocations: 348 kB / 425.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1074, allocations: 0.693 MB / 425.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.1074, allocations: 11.44 kB / 425.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1074, allocations: 3.938 kB / 425.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of Templates: time 0.00254/0.11, allocations: 0.9691 MB / 426.8 MB, free: 3.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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: 6.813621575944126]