Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001813/0.001813, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.002146/0.002146, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.476/1.476, allocations: 225.6 MB / 249.1 MB, free: 3.633 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 51.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004256/0.1083, allocations: 2.269 MB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00064/0.1089, allocations: 199.3 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.1091, allocations: 4 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1092, allocations: 35.64 kB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1095, allocations: 63.42 kB / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1097, allocations: 51.92 kB / 420.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.1101, allocations: 235 kB / 420.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1103, allocations: 86.53 kB / 420.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1104, allocations: 95.7 kB / 420.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1106, allocations: 99.55 kB / 420.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1106, allocations: 24 kB / 420.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.1107, allocations: 20 kB / 420.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.1107, allocations: 51.83 kB / 421 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1109, allocations: 111.5 kB / 421.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1112, allocations: 258.9 kB / 421.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1112, allocations: 0 / 421.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1112, allocations: 0 / 421.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1112, allocations: 0 / 421.3 MB, free: 9.043 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.0008858/0.1121, allocations: 0.5184 MB / 421.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1121, allocations: 8.031 kB / 421.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.102e-05/0.1122, allocations: 58.73 kB / 421.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.1123, allocations: 24.8 kB / 422 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1126, allocations: 224 kB / 422.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.1126, allocations: 16.94 kB / 422.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.1126, allocations: 20.38 kB / 422.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.1131, allocations: 236.8 kB / 422.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.1131, allocations: 3.938 kB / 422.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1131, allocations: 12 kB / 422.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1131, allocations: 4 kB / 422.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.1134, allocations: 135.8 kB / 422.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1148, allocations: 0.8562 MB / 423.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.115, allocations: 147.7 kB / 423.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1152, allocations: 62.56 kB / 423.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1152, allocations: 3.938 kB / 423.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1152, allocations: 38.5 kB / 423.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.384e-06/0.1152, allocations: 0 / 423.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004412/0.1157, allocations: 169.8 kB / 423.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.1158, allocations: 114.8 kB / 424 MB, free: 6.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.116, allocations: 198.2 kB / 424.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.116, allocations: 29.7 kB / 424.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1162, allocations: 156.1 kB / 424.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.1162, allocations: 79.34 kB / 424.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1164, allocations: 49.95 kB / 424.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1165, allocations: 330.8 kB / 424.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.1166, allocations: 44.55 kB / 424.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1168, allocations: 162.8 kB / 425 MB, free: 5.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.1172, allocations: 222.1 kB / 425.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1172, allocations: 4 kB / 425.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004223/0.1176, allocations: 241.2 kB / 425.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1176, allocations: 15.92 kB / 425.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.1176, allocations: 4 kB / 425.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1177, allocations: 4 kB / 425.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1179, allocations: 55.92 kB / 425.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.1179, allocations: 12.38 kB / 425.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1181, allocations: 35.77 kB / 425.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.1181, allocations: 12 kB / 425.6 MB, free: 4.402 MB / 350.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.0001629/0.1182, allocations: 142.4 kB / 425.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.1183, allocations: 23.8 kB / 425.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.1184, allocations: 21.41 kB / 425.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1184, allocations: 7.984 kB / 425.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1184, allocations: 0 / 425.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1184, allocations: 4 kB / 425.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.1191, allocations: 420.9 kB / 426.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1191, allocations: 0 / 426.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.1193, allocations: 43.92 kB / 426.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1193, allocations: 3.984 kB / 426.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1193, allocations: 8 kB / 426.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1193, allocations: 0 / 426.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1193, allocations: 4 kB / 426.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.1198, allocations: 381.2 kB / 426.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.1198, allocations: 96.97 kB / 426.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1199, allocations: 12.03 kB / 426.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.12, allocations: 0 / 426.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.1201, allocations: 19.92 kB / 426.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1201, allocations: 8 kB / 426.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1202, allocations: 140.3 kB / 426.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1202, allocations: 0 / 426.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.1206, allocations: 51.89 kB / 427 MB, free: 2.922 MB / 350.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.0007829/0.1214, allocations: 0.9074 MB / 427.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1217, allocations: 132.6 kB / 428 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1217, allocations: 8.062 kB / 428 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.1218, allocations: 51.86 kB / 428 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.1223, allocations: 28.7 kB / 428.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.1259, allocations: 2.573 MB / 430.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1263, allocations: 0.7358 MB / 431.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.1264, allocations: 29.92 kB / 431.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1265, allocations: 55.42 kB / 431.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1265, allocations: 4 kB / 431.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1544, allocations: 3.752 MB / 435.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.275, allocations: 15.31 kB / 435.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.924628328997642]