Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001483/0.001483, allocations: 121 kB / 18.49 MB, free: 4.586 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.001602/0.001602, allocations: 213.5 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.382/1.382, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.92 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1012, allocations: 53.33 MB / 427 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003775/0.105, allocations: 2.27 MB / 429.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000654/0.1057, allocations: 199.3 kB / 429.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1058, allocations: 4 kB / 429.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.106, allocations: 39.64 kB / 429.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1062, allocations: 63.41 kB / 429.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1064, allocations: 51.94 kB / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.1067, allocations: 238.9 kB / 429.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1069, allocations: 78.61 kB / 429.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1071, allocations: 91.7 kB / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1073, allocations: 103.5 kB / 430.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.1073, allocations: 27.94 kB / 430.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.1073, allocations: 20 kB / 430.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.1074, allocations: 47.84 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1075, allocations: 115.5 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1079, allocations: 258.9 kB / 430.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1079, allocations: 0 / 430.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1079, allocations: 0 / 430.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1079, allocations: 0 / 430.6 MB, free: 1.238 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008708/0.1088, allocations: 0.5107 MB / 431.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1088, allocations: 8.031 kB / 431.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.704e-05/0.1088, allocations: 8.75 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.1089, allocations: 54.67 kB / 431.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.1089, allocations: 24.8 kB / 431.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1092, allocations: 224 kB / 431.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1092, allocations: 16.94 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1093, allocations: 28.31 kB / 431.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.1097, allocations: 240.6 kB / 431.7 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1097, allocations: 7.938 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.1097, allocations: 8 kB / 431.7 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.1097, allocations: 8.047 kB / 431.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.11, allocations: 127.8 kB / 431.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1111, allocations: 0.8597 MB / 432.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1114, allocations: 151.7 kB / 432.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.1115, allocations: 62.5 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1115, allocations: 7.938 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1115, allocations: 34.56 kB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1115, allocations: 0 / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003799/0.1119, allocations: 165.8 kB / 433.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.112, allocations: 114.8 kB / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1122, allocations: 198.7 kB / 433.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1122, allocations: 29.7 kB / 433.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1123, allocations: 160.1 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1124, allocations: 71.45 kB / 433.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.1124, allocations: 49.89 kB / 433.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1126, allocations: 330.8 kB / 434.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.1127, allocations: 52.55 kB / 434.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1129, allocations: 150.8 kB / 434.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.1131, allocations: 225.5 kB / 434.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1131, allocations: 0 / 434.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003637/0.1135, allocations: 245.8 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1135, allocations: 7.984 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1135, allocations: 4 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1135, allocations: 8 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1137, allocations: 56.36 kB / 434.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1138, allocations: 8.094 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.1139, allocations: 35.78 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1139, allocations: 16 kB / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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 0.0001271/0.114, allocations: 133.7 kB / 435 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.1141, allocations: 27.84 kB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1142, allocations: 17.41 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1142, allocations: 4 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1142, allocations: 3.984 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1142, allocations: 0 / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.1147, allocations: 424.9 kB / 435.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1147, allocations: 4 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.1149, allocations: 35.92 kB / 435.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1149, allocations: 4.188 kB / 435.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.115, allocations: 7.984 kB / 435.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.115, allocations: 11.92 kB / 435.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.115, allocations: 4.094 kB / 435.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.1154, allocations: 387 kB / 435.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.1154, allocations: 93.02 kB / 436 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1155, allocations: 4.047 kB / 436 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1156, allocations: 11.98 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.1156, allocations: 11.94 kB / 436 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1156, allocations: 11.98 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1158, allocations: 131.2 kB / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1158, allocations: 0 / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1161, allocations: 59.89 kB / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.0007101/0.1168, allocations: 0.917 MB / 437.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.1171, allocations: 144.2 kB / 437.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1171, allocations: 0 / 437.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.1172, allocations: 47.92 kB / 437.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.1176, allocations: 34.42 kB / 437.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.1205, allocations: 2.549 MB / 439.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.1208, allocations: 0.7359 MB / 440.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.1209, allocations: 21.94 kB / 440.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.121, allocations: 55.42 kB / 440.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.121, allocations: 0 / 440.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.1426, allocations: 3.812 MB / 444.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.186, allocations: 7.922 kB / 444.5 MB, free: 2.66 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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: 10.607197067991365]