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.001355/0.001355, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001539/0.001539, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.429/1.429, allocations: 230.6 MB / 254.1 MB, free: 15.09 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 47.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.1007, allocations: 53.33 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003548/0.1042, allocations: 2.274 MB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004855/0.1047, allocations: 191.3 kB / 428.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1048, allocations: 8 kB / 428.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.489e-05/0.1049, allocations: 39.64 kB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1051, allocations: 55.42 kB / 428.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.1053, allocations: 59.86 kB / 428.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.1055, allocations: 235 kB / 429.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1057, allocations: 78.61 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1058, allocations: 95.7 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.106, allocations: 99.56 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.106, allocations: 20 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.1061, allocations: 27.94 kB / 429.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.1061, allocations: 51.81 kB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1062, allocations: 115.4 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1065, allocations: 255 kB / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1065, allocations: 0 / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1065, allocations: 0 / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1065, allocations: 0 / 429.9 MB, free: 1.219 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.0007571/0.1073, allocations: 0.5107 MB / 430.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1073, allocations: 12.03 kB / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.1074, allocations: 54.73 kB / 430.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1074, allocations: 28.8 kB / 430.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1077, allocations: 220 kB / 430.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1077, allocations: 16.94 kB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.1077, allocations: 36.31 kB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.1081, allocations: 228.8 kB / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1081, allocations: 7.938 kB / 431 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1936/0.3018, allocations: 6.391 kB / 431 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.3018, allocations: 5.344 kB / 431 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.3021, allocations: 132.6 kB / 431.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3031, allocations: 0.8518 MB / 432 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.3033, allocations: 157.2 kB / 432.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.3034, allocations: 58.19 kB / 432.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3034, allocations: 8.031 kB / 432.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3035, allocations: 33.08 kB / 432.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.654e-06/0.3035, allocations: 0 / 432.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003704/0.3038, allocations: 172.5 kB / 432.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3039, allocations: 104.6 kB / 432.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.304, allocations: 197.8 kB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.304, allocations: 30.36 kB / 432.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.3041, allocations: 160.5 kB / 432.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.3041, allocations: 73.44 kB / 433 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.3042, allocations: 47.91 kB / 433 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.3043, allocations: 330.5 kB / 433.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.3044, allocations: 52.27 kB / 433.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3045, allocations: 155.6 kB / 433.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.3047, allocations: 223.3 kB / 433.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3047, allocations: 0 / 433.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003017/0.305, allocations: 244.7 kB / 434 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.305, allocations: 6.859 kB / 434 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.305, allocations: 8.656 kB / 434 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.305, allocations: 6.906 kB / 434 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3052, allocations: 64.91 kB / 434.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3052, allocations: 4.312 kB / 434.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3054, allocations: 31.97 kB / 434.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3054, allocations: 12.91 kB / 434.1 MB, free: 9.391 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 7.933e-05/0.3055, allocations: 137 kB / 434.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.3055, allocations: 24.75 kB / 434.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.3056, allocations: 24.59 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3056, allocations: 4.094 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3056, allocations: 0 / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.3056, allocations: 7.875 kB / 434.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.306, allocations: 427.3 kB / 434.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.306, allocations: 1.094 kB / 434.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3062, allocations: 38.09 kB / 434.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3062, allocations: 3.266 kB / 434.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3062, allocations: 6.969 kB / 434.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3062, allocations: 2.125 kB / 434.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3062, allocations: 8.438 kB / 434.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.3065, allocations: 378.1 kB / 435.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.3065, allocations: 96.84 kB / 435.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3066, allocations: 7.328 kB / 435.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3067, allocations: 6.094 kB / 435.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3067, allocations: 20.92 kB / 435.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3067, allocations: 6.406 kB / 435.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.687e-05/0.3068, allocations: 140.5 kB / 435.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3068, allocations: 0 / 435.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.3072, allocations: 49.53 kB / 435.5 MB, free: 8.469 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.0004505/0.3076, allocations: 0.9026 MB / 436.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.3079, allocations: 138.7 kB / 436.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3079, allocations: 4.203 kB / 436.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.308, allocations: 62.52 kB / 436.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.3085, allocations: 30.64 kB / 436.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.3107, allocations: 2.558 MB / 439.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3108, allocations: 0.7324 MB / 439.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.834e-05/0.3109, allocations: 21.7 kB / 439.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.311, allocations: 54.05 kB / 440 MB, free: 4.828 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.311, allocations: 3.938 kB / 440 MB, free: 4.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3418, allocations: 3.771 MB / 443.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.48, allocations: 4.984 kB / 443.8 MB, free: 4.281 MB / 350.1 MB " [Timeout remaining time 651] (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.815751624992117]