Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.00183/0.00183, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00213/0.00213, allocations: 217.6 kB / 24.53 MB, free: 4.008 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.563/1.563, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2499/0.2499, allocations: 46.93 MB / 361.6 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 179] 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.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 67.89 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3653, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00468/0.3699, allocations: 2.878 MB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3716, allocations: 0.8023 MB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.3718, allocations: 11.94 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.372, allocations: 67.31 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.3723, allocations: 126.9 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3727, allocations: 119.8 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.3733, allocations: 454.3 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.3736, allocations: 136.6 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.3739, allocations: 183.3 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.3742, allocations: 199.1 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.3743, allocations: 36 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.3744, allocations: 36 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.3745, allocations: 87.69 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.3747, allocations: 199 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.3753, allocations: 462 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3753, allocations: 7.984 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3753, allocations: 3.938 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3753, allocations: 0 / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001112/0.3764, allocations: 0.6105 MB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3764, allocations: 8.031 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.386e-05/0.3764, allocations: 13.19 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.645e-05/0.3765, allocations: 86.64 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.3769, allocations: 72.62 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.3774, allocations: 237.7 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3774, allocations: 29.38 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.3775, allocations: 40.38 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.3782, allocations: 385 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.3782, allocations: 11.88 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.3783, allocations: 16 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3783, allocations: 12 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.3788, allocations: 243.8 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3805, allocations: 1.051 MB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.3812, allocations: 327.5 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.3815, allocations: 158.4 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3815, allocations: 11.94 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3815, allocations: 46.48 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.103e-06/0.3815, allocations: 0 / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.00399/0.3855, allocations: 2.01 MB / 0.5723 GB, free: 8.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.3856, allocations: 114.8 kB / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.3859, allocations: 249.8 kB / 0.5727 GB, free: 8.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3859, allocations: 33.64 kB / 0.5727 GB, free: 8.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3861, allocations: 188.9 kB / 0.5729 GB, free: 8.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.3863, allocations: 210.2 kB / 0.5731 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3864, allocations: 86.34 kB / 0.5732 GB, free: 7.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3866, allocations: 346.8 kB / 0.5735 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.3869, allocations: 129.2 kB / 0.5736 GB, free: 7.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.3873, allocations: 232.8 kB / 0.5738 GB, free: 7.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.3879, allocations: 397.9 kB / 0.5742 GB, free: 6.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.388, allocations: 4 kB / 0.5742 GB, free: 6.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001151/0.3891, allocations: 0.554 MB / 0.5748 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3891, allocations: 4 kB / 0.5748 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3891, allocations: 4 kB / 0.5748 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.3895, allocations: 118.5 kB / 0.5749 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.3899, allocations: 99.92 kB / 0.575 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.3947, allocations: 4.907 MB / 0.5798 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3951, allocations: 19.98 kB / 0.5798 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3951, allocations: 20 kB / 0.5798 GB, free: 0.6875 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.3954, allocations: 173.2 kB / 0.58 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3955, allocations: 35.77 kB / 0.58 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3956, allocations: 54.05 kB / 0.5801 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.3956, allocations: 11.92 kB / 0.5801 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.3956, allocations: 7.938 kB / 0.5801 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3956, allocations: 7.984 kB / 0.5801 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.3979, allocations: 1.28 MB / 0.5813 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3979, allocations: 0 / 0.5813 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.3984, allocations: 103.9 kB / 0.5814 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.3987, allocations: 94.45 kB / 0.5815 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.3987, allocations: 11.98 kB / 0.5815 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.4026, allocations: 4.123 MB / 0.5856 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4026, allocations: 0 / 0.5856 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.4042, allocations: 0.9259 MB / 0.5865 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.4043, allocations: 35.75 kB / 0.5865 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.4043, allocations: 12.06 kB / 0.5865 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.4046, allocations: 19.98 kB / 0.5865 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4047, allocations: 43.86 kB / 0.5866 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4048, allocations: 12 kB / 0.5866 GB, free: 9.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.405, allocations: 181.2 kB / 0.5868 GB, free: 9.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.405, allocations: 4 kB / 0.5868 GB, free: 9.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007789/0.4058, allocations: 124 kB / 0.5869 GB, free: 8.977 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.4076, allocations: 1.477 MB / 0.5883 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.4092, allocations: 0.7612 MB / 0.5891 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4092, allocations: 0 / 0.5891 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.4101, allocations: 0.5646 MB / 0.5896 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.4109, allocations: 56.09 kB / 0.5897 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.4175, allocations: 4.184 MB / 0.5938 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.4181, allocations: 0.828 MB / 0.5946 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.4182, allocations: 35.27 kB / 0.5946 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4184, allocations: 135.4 kB / 0.5947 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4184, allocations: 0 / 0.5947 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/0.4607, allocations: 8.824 MB / 0.6034 GB, free: 7.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.17, allocations: 7.797 kB / 0.6034 GB, free: 7.906 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 16.67927125003189]