Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001841/0.001841, allocations: 115.9 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.002779/0.002779, allocations: 213.4 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.246/0.246, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 63.91 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3726, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004421/0.377, allocations: 2.881 MB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3786, allocations: 0.8062 MB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.3789, allocations: 11.94 kB / 0.5606 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3791, allocations: 63.31 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.3793, allocations: 126.9 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.3797, allocations: 123.8 kB / 0.5609 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.3803, allocations: 454.3 kB / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.3806, allocations: 136.6 kB / 0.5615 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.3809, allocations: 179.4 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.3812, allocations: 195.1 kB / 0.5618 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.3813, allocations: 36 kB / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.3813, allocations: 40 kB / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.3814, allocations: 83.69 kB / 0.562 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.3816, allocations: 203 kB / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.3822, allocations: 470 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3822, allocations: 0 / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3822, allocations: 0 / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3822, allocations: 0 / 0.5626 GB, free: 2 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001022/0.3832, allocations: 0.6105 MB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3833, allocations: 8.031 kB / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.961e-05/0.3834, allocations: 86.64 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.3837, allocations: 72.62 kB / 0.5634 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3841, allocations: 234.7 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3841, allocations: 29.38 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.3842, allocations: 44.31 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.3849, allocations: 389.1 kB / 0.5641 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.3849, allocations: 11.95 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.385, allocations: 12 kB / 0.5641 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.385, allocations: 12 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.3855, allocations: 240.4 kB / 0.5643 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3872, allocations: 1.059 MB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.3878, allocations: 327.5 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.3881, allocations: 158.5 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.3881, allocations: 7.938 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3881, allocations: 46.48 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.034e-06/0.3882, allocations: 0 / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003968/0.3921, allocations: 2.01 MB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.3922, allocations: 114.8 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.3925, allocations: 245.9 kB / 0.5682 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3925, allocations: 33.7 kB / 0.5682 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3927, allocations: 188.9 kB / 0.5684 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.3929, allocations: 206.2 kB / 0.5686 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.393, allocations: 86.34 kB / 0.5687 GB, free: 11.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3932, allocations: 354.7 kB / 0.569 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.3935, allocations: 129.2 kB / 0.5691 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3939, allocations: 232.8 kB / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.3946, allocations: 398 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3946, allocations: 4 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001129/0.3957, allocations: 0.5579 MB / 0.5703 GB, free: 9.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3958, allocations: 4 kB / 0.5703 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3958, allocations: 4 kB / 0.5703 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.3962, allocations: 126.6 kB / 0.5704 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.3966, allocations: 95.83 kB / 0.5705 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004829/0.4014, allocations: 4.907 MB / 0.5753 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.4017, allocations: 19.98 kB / 0.5753 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.4017, allocations: 20 kB / 0.5753 GB, free: 4.172 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.0002383/0.402, allocations: 177.7 kB / 0.5755 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4021, allocations: 35.77 kB / 0.5755 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.4022, allocations: 46.11 kB / 0.5756 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4022, allocations: 8 kB / 0.5756 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.4022, allocations: 7.938 kB / 0.5756 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.4022, allocations: 3.984 kB / 0.5756 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.4044, allocations: 1.291 MB / 0.5769 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4044, allocations: 4 kB / 0.5769 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.4048, allocations: 95.83 kB / 0.577 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.4051, allocations: 94.44 kB / 0.577 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.4052, allocations: 19.98 kB / 0.5771 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.4089, allocations: 4.114 MB / 0.5811 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4089, allocations: 4.031 kB / 0.5811 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.4104, allocations: 0.9168 MB / 0.582 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.4105, allocations: 39.81 kB / 0.582 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.4105, allocations: 12 kB / 0.582 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.4108, allocations: 19.98 kB / 0.5821 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.4109, allocations: 43.86 kB / 0.5821 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4109, allocations: 20 kB / 0.5821 GB, free: 12.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.4111, allocations: 177.2 kB / 0.5823 GB, free: 12.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4111, allocations: 3.938 kB / 0.5823 GB, free: 12.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.4119, allocations: 124 kB / 0.5824 GB, free: 12.46 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.001833/0.4137, allocations: 1.482 MB / 0.5839 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.4152, allocations: 0.7535 MB / 0.5846 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4152, allocations: 0 / 0.5846 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.416, allocations: 0.5604 MB / 0.5851 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.4168, allocations: 77.56 kB / 0.5852 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/0.4231, allocations: 4.174 MB / 0.5893 GB, free: 5.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.4236, allocations: 0.8241 MB / 0.5901 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.4238, allocations: 39.25 kB / 0.5901 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4239, allocations: 135.4 kB / 0.5903 GB, free: 4.094 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4239, allocations: 4 kB / 0.5903 GB, free: 4.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.4717, allocations: 8.788 MB / 0.5988 GB, free: 11.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.21, allocations: 6.344 kB / 0.5988 GB, free: 11.45 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.56367466598749]