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.001646/0.001646, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002107/0.002107, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2436/0.2436, allocations: 46.92 MB / 360.9 MB, free: 4.266 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 67.89 kB / 0.4961 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3177, allocations: 66.04 MB / 0.5606 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003131/0.3208, allocations: 1.688 MB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.3212, allocations: 107.6 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3213, allocations: 0 / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.3214, allocations: 15.8 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.3216, allocations: 43.69 kB / 0.5624 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.3217, allocations: 19.97 kB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.3219, allocations: 131.4 kB / 0.5626 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.322, allocations: 33.3 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3222, allocations: 43.86 kB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.3222, allocations: 51.77 kB / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.3223, allocations: 12 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.3223, allocations: 8 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.3223, allocations: 23.86 kB / 0.5627 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.3224, allocations: 59.73 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.3226, allocations: 125.3 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3226, allocations: 4 kB / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3226, allocations: 0 / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3226, allocations: 0 / 0.5629 GB, free: 2.102 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.0005528/0.3232, allocations: 338.1 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3232, allocations: 8.031 kB / 0.5633 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.3233, allocations: 46.73 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3233, allocations: 8.891 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3235, allocations: 138.4 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3235, allocations: 8.609 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.3236, allocations: 16.38 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3238, allocations: 133.5 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3238, allocations: 7.891 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3238, allocations: 11.94 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3238, allocations: 4 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.324, allocations: 51.97 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.3248, allocations: 491.6 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3249, allocations: 77.17 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.325, allocations: 33.73 kB / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.325, allocations: 7.938 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.325, allocations: 30.56 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.325, allocations: 4 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000574/0.3256, allocations: 147.2 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.3256, allocations: 81.11 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3258, allocations: 125.8 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3258, allocations: 25.7 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.3259, allocations: 123.8 kB / 0.5648 GB, free: 12 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.3259, allocations: 35.81 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.326, allocations: 29.66 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3261, allocations: 326.8 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.3262, allocations: 20 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.3263, allocations: 96.41 kB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3264, allocations: 116.5 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3264, allocations: 0 / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000306/0.3268, allocations: 167.1 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3268, allocations: 8.25 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3268, allocations: 7.938 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.327, allocations: 33.7 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.3271, allocations: 27.92 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.3293, allocations: 2.527 MB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3294, allocations: 19.92 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3294, allocations: 8 kB / 0.5681 GB, free: 12.29 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.0001263/0.3295, allocations: 133.9 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.3296, allocations: 7.938 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.3296, allocations: 8 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3296, allocations: 0 / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3296, allocations: 7.938 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3296, allocations: 0 / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3299, allocations: 176.6 kB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3299, allocations: 0 / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.33, allocations: 19.94 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.3301, allocations: 37.64 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3302, allocations: 4 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.3322, allocations: 2.519 MB / 0.5709 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3322, allocations: 3.938 kB / 0.5709 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.3326, allocations: 312.4 kB / 0.5712 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.3326, allocations: 8.203 kB / 0.5712 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3326, allocations: 4 kB / 0.5712 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.3327, allocations: 4 kB / 0.5712 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3327, allocations: 12.03 kB / 0.5713 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3327, allocations: 0 / 0.5713 GB, free: 8.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.113e-05/0.3328, allocations: 95.27 kB / 0.5713 GB, free: 8.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3328, allocations: 0 / 0.5713 GB, free: 8.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004102/0.3332, allocations: 39.89 kB / 0.5714 GB, free: 8.594 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.0006909/0.3339, allocations: 0.8324 MB / 0.5722 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.3344, allocations: 301.4 kB / 0.5725 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3344, allocations: 0 / 0.5725 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.3347, allocations: 261.2 kB / 0.5727 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.3352, allocations: 28.28 kB / 0.5728 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.3377, allocations: 1.979 MB / 0.5747 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.3381, allocations: 0.7123 MB / 0.5754 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.699e-05/0.3382, allocations: 4.984 kB / 0.5754 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3383, allocations: 31.42 kB / 0.5754 GB, free: 4.195 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3383, allocations: 0 / 0.5754 GB, free: 4.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.3775, allocations: 3.146 MB / 0.5785 GB, free: 1.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.35, allocations: 0 / 0.5785 GB, free: 1.184 MB / 414.1 MB " [Timeout remaining time 648] (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.359589810948819]