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.001673/0.001673, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001962/0.001962, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 68.09 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09781, allocations: 53.37 MB / 427 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003424/0.1012, allocations: 2.285 MB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004039/0.1016, allocations: 199.2 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.1017, allocations: 8 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.797e-05/0.1018, allocations: 35.64 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.102, allocations: 59.42 kB / 429.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.1021, allocations: 47.94 kB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.1024, allocations: 231 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1025, allocations: 82.59 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1027, allocations: 99.66 kB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1028, allocations: 103.5 kB / 430.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.1028, allocations: 24 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.337e-05/0.1029, allocations: 23.94 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.1029, allocations: 47.84 kB / 430.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.103, allocations: 111.5 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1033, allocations: 254.9 kB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1033, allocations: 0 / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1033, allocations: 0 / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1033, allocations: 0 / 430.6 MB, free: 1.059 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.0007837/0.1041, allocations: 0.5146 MB / 431.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1042, allocations: 8.031 kB / 431.2 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.749e-05/0.1042, allocations: 4.75 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.1042, allocations: 58.73 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1043, allocations: 28.8 kB / 431.2 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1045, allocations: 224 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1045, allocations: 16.94 kB / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1046, allocations: 28.33 kB / 431.5 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.1049, allocations: 228.7 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.105, allocations: 7.938 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.105, allocations: 8 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.105, allocations: 12 kB / 431.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1052, allocations: 137.5 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1064, allocations: 0.8557 MB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1066, allocations: 143.7 kB / 432.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.1067, allocations: 58.56 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1067, allocations: 15.88 kB / 433 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1068, allocations: 34.86 kB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.1068, allocations: 0 / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003765/0.1071, allocations: 162 kB / 433.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.1072, allocations: 110.8 kB / 433.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1074, allocations: 198.7 kB / 433.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1074, allocations: 25.7 kB / 433.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1075, allocations: 172 kB / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.1076, allocations: 67.47 kB / 433.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.1077, allocations: 49.94 kB / 433.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1078, allocations: 330.8 kB / 434.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.1079, allocations: 52.53 kB / 434.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.1081, allocations: 155.3 kB / 434.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.1084, allocations: 225.5 kB / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1084, allocations: 0 / 434.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003751/0.1088, allocations: 249.4 kB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1088, allocations: 4 kB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1088, allocations: 4 kB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1088, allocations: 8 kB / 434.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.109, allocations: 59.91 kB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.109, allocations: 7.938 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1092, allocations: 27.8 kB / 434.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1092, allocations: 16 kB / 434.9 MB, free: 12.42 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.000131/0.1093, allocations: 141.9 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.1094, allocations: 23.84 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1094, allocations: 29.33 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1094, allocations: 0 / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1094, allocations: 4 kB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1095, allocations: 0 / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.11, allocations: 424.9 kB / 435.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.11, allocations: 8 kB / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.1102, allocations: 39.92 kB / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1102, allocations: 4 kB / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1102, allocations: 0 / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1102, allocations: 4 kB / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1102, allocations: 0 / 435.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.1107, allocations: 391.5 kB / 435.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.1107, allocations: 93.05 kB / 436 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1108, allocations: 8 kB / 436 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1109, allocations: 0 / 436 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1109, allocations: 19.92 kB / 436 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.1109, allocations: 4 kB / 436 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1111, allocations: 144.4 kB / 436.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1111, allocations: 0 / 436.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1114, allocations: 55.89 kB / 436.2 MB, free: 10.93 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.0007401/0.1122, allocations: 0.8994 MB / 437.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1125, allocations: 151.6 kB / 437.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1125, allocations: 0.875 kB / 437.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.1126, allocations: 48.39 kB / 437.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.1131, allocations: 32.47 kB / 437.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.1161, allocations: 2.555 MB / 439.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1165, allocations: 0.732 MB / 440.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.404e-05/0.1166, allocations: 25.92 kB / 440.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1167, allocations: 59.42 kB / 440.7 MB, free: 6.176 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1167, allocations: 0 / 440.7 MB, free: 6.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1378, allocations: 3.802 MB / 444.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.147, allocations: 15.53 kB / 444.6 MB, free: 2.477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_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.719682258029934]