Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 128.4 kB / 17.8 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 214.5 kB / 20.75 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.4 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 59.89 kB / 373 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 53.38 MB / 426.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004093/0.1204, allocations: 2.276 MB / 428.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005092/0.1209, allocations: 199.3 kB / 428.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.121, allocations: 4 kB / 428.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.451e-05/0.1211, allocations: 35.64 kB / 428.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1213, allocations: 55.42 kB / 428.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1215, allocations: 67.8 kB / 429 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1218, allocations: 235 kB / 429.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.122, allocations: 78.61 kB / 429.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1221, allocations: 95.7 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1223, allocations: 95.56 kB / 429.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.1224, allocations: 20 kB / 429.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.1224, allocations: 24 kB / 429.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.1225, allocations: 51.77 kB / 429.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1226, allocations: 115.5 kB / 429.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1229, allocations: 251 kB / 429.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1229, allocations: 4 kB / 429.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1229, allocations: 0 / 429.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1229, allocations: 0 / 429.9 MB, free: 1.078 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.0008111/0.1238, allocations: 0.5146 MB / 430.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.1238, allocations: 12.03 kB / 430.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/0.1239, allocations: 58.73 kB / 430.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.1239, allocations: 24.8 kB / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1242, allocations: 221.7 kB / 430.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1242, allocations: 16.94 kB / 430.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.1243, allocations: 28.33 kB / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.1247, allocations: 228.9 kB / 431 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1247, allocations: 11.94 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1247, allocations: 8 kB / 431 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1247, allocations: 8 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.125, allocations: 131.8 kB / 431.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1262, allocations: 0.8558 MB / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1265, allocations: 151.7 kB / 432.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1266, allocations: 58.56 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1266, allocations: 4 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1267, allocations: 42.5 kB / 432.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.1267, allocations: 0 / 432.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004137/0.1271, allocations: 169.9 kB / 432.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.1272, allocations: 106.8 kB / 432.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1274, allocations: 202.7 kB / 432.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1274, allocations: 25.7 kB / 432.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1275, allocations: 164.1 kB / 432.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.1276, allocations: 63.47 kB / 433 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.1277, allocations: 49.95 kB / 433 MB, free: 13.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1279, allocations: 330.8 kB / 433.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.128, allocations: 44.55 kB / 433.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1281, allocations: 171.1 kB / 433.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1284, allocations: 226.1 kB / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1284, allocations: 0 / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003743/0.1288, allocations: 241.2 kB / 434 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1288, allocations: 13.55 kB / 434 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1288, allocations: 4 kB / 434 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1289, allocations: 8 kB / 434.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1291, allocations: 59.86 kB / 434.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1291, allocations: 4 kB / 434.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1292, allocations: 32.22 kB / 434.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.1293, allocations: 20 kB / 434.2 MB, free: 12.44 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.0001398/0.1294, allocations: 141.7 kB / 434.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.1295, allocations: 19.84 kB / 434.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.1295, allocations: 21.41 kB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1295, allocations: 4 kB / 434.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1295, allocations: 3.984 kB / 434.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1296, allocations: 0 / 434.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.1302, allocations: 428.8 kB / 434.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1302, allocations: 4 kB / 434.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.1304, allocations: 35.98 kB / 434.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1304, allocations: 4 kB / 434.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.1304, allocations: 7.984 kB / 434.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1304, allocations: 0 / 434.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1304, allocations: 3.938 kB / 434.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.1308, allocations: 388 kB / 435.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1309, allocations: 93.02 kB / 435.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1309, allocations: 8.031 kB / 435.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.131, allocations: 4 kB / 435.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1311, allocations: 23.86 kB / 435.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1311, allocations: 4 kB / 435.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1312, allocations: 136.4 kB / 435.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1312, allocations: 0 / 435.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.1316, allocations: 55.89 kB / 435.5 MB, free: 10.96 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.0007489/0.1323, allocations: 0.9077 MB / 436.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1326, allocations: 132.4 kB / 436.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1326, allocations: 8.188 kB / 436.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1327, allocations: 55.86 kB / 436.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.1333, allocations: 36.62 kB / 436.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.1363, allocations: 2.549 MB / 439.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1367, allocations: 0.732 MB / 439.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.1368, allocations: 21.94 kB / 440 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.1369, allocations: 59.42 kB / 440 MB, free: 6.203 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1369, allocations: 0 / 440 MB, free: 6.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1672, allocations: 3.769 MB / 443.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.042, allocations: 10.78 kB / 443.8 MB, free: 2.531 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/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_trunk_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.71957136306446]