Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001928/0.001928, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002443/0.002443, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.486/1.486, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2618/0.2618, allocations: 46.94 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 75.88 kB / 0.4969 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3095, allocations: 66.09 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002887/0.3124, allocations: 1.603 MB / 0.563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.3127, allocations: 107.6 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.3127, allocations: 0 / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/0.3128, allocations: 15.86 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3129, allocations: 43.64 kB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.313, allocations: 23.97 kB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3132, allocations: 135.3 kB / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3133, allocations: 29.3 kB / 0.5633 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.3134, allocations: 47.86 kB / 0.5634 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3135, allocations: 51.77 kB / 0.5634 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3135, allocations: 11.94 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.3136, allocations: 8 kB / 0.5634 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.3136, allocations: 19.94 kB / 0.5635 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.3137, allocations: 47.8 kB / 0.5635 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3139, allocations: 129.3 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3139, allocations: 4 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3139, allocations: 0 / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3139, allocations: 0 / 0.5636 GB, free: 1.766 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.000509/0.3144, allocations: 338 kB / 0.564 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3144, allocations: 8.031 kB / 0.564 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.3144, allocations: 4.422 kB / 0.564 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.3145, allocations: 46.73 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3145, allocations: 12.89 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.3147, allocations: 134.3 kB / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3147, allocations: 12.61 kB / 0.5642 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.3148, allocations: 12.38 kB / 0.5642 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.315, allocations: 133.3 kB / 0.5643 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.315, allocations: 3.953 kB / 0.5643 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3151, allocations: 4 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3151, allocations: 4 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3152, allocations: 63.89 kB / 0.5644 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.3159, allocations: 467.7 kB / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3161, allocations: 89.02 kB / 0.5649 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.3161, allocations: 25.89 kB / 0.5649 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3161, allocations: 0 / 0.5649 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3162, allocations: 42.5 kB / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.3162, allocations: 0 / 0.565 GB, free: 240 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.3167, allocations: 143.2 kB / 0.5651 GB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3168, allocations: 81.11 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3169, allocations: 125.8 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3169, allocations: 33.7 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.317, allocations: 115.8 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.317, allocations: 35.72 kB / 0.5655 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.317, allocations: 33.72 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3172, allocations: 322.8 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.3172, allocations: 19.98 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3173, allocations: 90.91 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3175, allocations: 128.8 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3175, allocations: 0 / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002897/0.3178, allocations: 167.1 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3178, allocations: 7.938 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.3178, allocations: 12.17 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.318, allocations: 33.72 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.3181, allocations: 23.98 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.3202, allocations: 2.523 MB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.3202, allocations: 15.92 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3202, allocations: 8 kB / 0.5688 GB, free: 11.97 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.0001128/0.3204, allocations: 121.8 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.3204, allocations: 8.031 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3204, allocations: 15.98 kB / 0.5689 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3204, allocations: 0 / 0.5689 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.3204, allocations: 12.08 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3205, allocations: 4 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.3207, allocations: 164.6 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3207, allocations: 4 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.3208, allocations: 11.98 kB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.3209, allocations: 41.64 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3209, allocations: 4 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.3228, allocations: 2.516 MB / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3228, allocations: 0 / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3232, allocations: 312.8 kB / 0.5719 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.3232, allocations: 12.23 kB / 0.5719 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3232, allocations: 4 kB / 0.5719 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.3233, allocations: 0 / 0.5719 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.3233, allocations: 16.23 kB / 0.5719 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3233, allocations: 0 / 0.5719 GB, free: 8.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.403e-05/0.3234, allocations: 103.1 kB / 0.572 GB, free: 8.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 0 / 0.572 GB, free: 8.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.3238, allocations: 43.83 kB / 0.5721 GB, free: 8.281 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.0006559/0.3244, allocations: 0.8227 MB / 0.5729 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.3249, allocations: 313.5 kB / 0.5732 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3249, allocations: 0 / 0.5732 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.3252, allocations: 257.3 kB / 0.5734 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3257, allocations: 23.92 kB / 0.5734 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.328, allocations: 1.978 MB / 0.5754 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.581e-05/0.3281, allocations: 89.62 kB / 0.5755 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.3281, allocations: 16.95 kB / 0.5755 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3282, allocations: 27.42 kB / 0.5755 GB, free: 4.508 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3282, allocations: 0 / 0.5755 GB, free: 4.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.3573, allocations: 3.313 MB / 0.5787 GB, free: 1.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.25, allocations: 5.375 kB / 0.5787 GB, free: 1.32 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.387543595978059]