Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001719/0.001719, allocations: 114.8 kB / 21.22 MB, free: 0.7305 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.002076/0.002076, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 46.94 MB / 361.7 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 0.4969 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3118, allocations: 66.03 MB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003033/0.3149, allocations: 1.673 MB / 0.563 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.3152, allocations: 111.5 kB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.3153, allocations: 4 kB / 0.5631 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.904e-05/0.3154, allocations: 19.8 kB / 0.5632 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3155, allocations: 31.7 kB / 0.5632 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.3156, allocations: 23.97 kB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3158, allocations: 135.4 kB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.316, allocations: 25.31 kB / 0.5634 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3161, allocations: 55.78 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.3162, allocations: 47.78 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3162, allocations: 8 kB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.3162, allocations: 12 kB / 0.5635 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3162, allocations: 23.92 kB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.3163, allocations: 55.73 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3165, allocations: 125.5 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.3166, allocations: 4 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3166, allocations: 0 / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3166, allocations: 0 / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005503/0.3171, allocations: 338.1 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3172, allocations: 8.031 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.3172, allocations: 4.422 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.3172, allocations: 46.73 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3173, allocations: 16.89 kB / 0.5641 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3175, allocations: 130.4 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3175, allocations: 8.609 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.3175, allocations: 16.36 kB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3178, allocations: 137.2 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.3178, allocations: 7.953 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3178, allocations: 4 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3178, allocations: 4 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3179, allocations: 59.91 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.3187, allocations: 491.5 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3188, allocations: 89.06 kB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.3189, allocations: 33.83 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3189, allocations: 0 / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3189, allocations: 34.56 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3189, allocations: 0 / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005478/0.3195, allocations: 143.2 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3195, allocations: 81.11 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3196, allocations: 129.7 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3197, allocations: 29.7 kB / 0.5654 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.3198, allocations: 115.8 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.3198, allocations: 43.66 kB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.3199, allocations: 29.8 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.32, allocations: 322.8 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.3201, allocations: 23.98 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.3201, allocations: 84.58 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3203, allocations: 120.5 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3203, allocations: 0 / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002893/0.3206, allocations: 171.2 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3206, allocations: 7.938 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3206, allocations: 4 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.3208, allocations: 33.7 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.3209, allocations: 27.92 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.3231, allocations: 2.539 MB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.3232, allocations: 11.89 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3232, allocations: 8.156 kB / 0.5689 GB, free: 12.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.3233, allocations: 131.7 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3234, allocations: 7.938 kB / 0.569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.3234, allocations: 8 kB / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3234, allocations: 4 kB / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3234, allocations: 0 / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3234, allocations: 0 / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3237, allocations: 180.5 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3237, allocations: 7.938 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3239, allocations: 15.98 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.324, allocations: 41.64 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.324, allocations: 0 / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.326, allocations: 2.519 MB / 0.5717 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.326, allocations: 0 / 0.5717 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.3264, allocations: 312.4 kB / 0.572 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.3264, allocations: 12.2 kB / 0.572 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3264, allocations: 7.938 kB / 0.572 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.3265, allocations: 0 / 0.572 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.3265, allocations: 8.031 kB / 0.572 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3265, allocations: 4 kB / 0.572 GB, free: 8.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.3266, allocations: 95.27 kB / 0.5721 GB, free: 8.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3266, allocations: 0 / 0.5721 GB, free: 8.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.327, allocations: 47.83 kB / 0.5722 GB, free: 8.617 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006467/0.3276, allocations: 0.8266 MB / 0.573 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000501/0.3281, allocations: 305.2 kB / 0.5733 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3281, allocations: 0 / 0.5733 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.3284, allocations: 261.2 kB / 0.5735 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.3289, allocations: 29.05 kB / 0.5735 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3312, allocations: 1.975 MB / 0.5755 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3315, allocations: 0.7045 MB / 0.5762 GB, free: 4.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.3316, allocations: 8.969 kB / 0.5762 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.3316, allocations: 27.44 kB / 0.5762 GB, free: 4.23 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3316, allocations: 7.938 kB / 0.5762 GB, free: 4.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.3681, allocations: 3.173 MB / 0.5793 GB, free: 1.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.34, allocations: 2.234 kB / 0.5793 GB, free: 1.195 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 15.552176124998368]