Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001356/0.001356, 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.002774/0.002774, 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2467/0.2467, allocations: 46.93 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 71.83 kB / 0.4962 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 66.04 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004492/0.3579, allocations: 2.878 MB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3597, allocations: 0.8062 MB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.36, allocations: 11.94 kB / 0.5643 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3602, allocations: 63.31 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3605, allocations: 126.9 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.3609, allocations: 119.8 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.3614, allocations: 454.3 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.3617, allocations: 136.6 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.3621, allocations: 183.3 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.3623, allocations: 191.1 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.3624, allocations: 36 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.3625, allocations: 43.94 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.3626, allocations: 79.73 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.3628, allocations: 207 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.3633, allocations: 465.9 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3633, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3633, allocations: 4 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3633, allocations: 3.984 kB / 0.5663 GB, free: 14.67 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.001091/0.3644, allocations: 0.6105 MB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3645, allocations: 8.031 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.3646, allocations: 82.64 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.3649, allocations: 76.62 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.3654, allocations: 233.7 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.3654, allocations: 29.38 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.3655, allocations: 40.38 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.3662, allocations: 389.1 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.3662, allocations: 3.953 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.3663, allocations: 16 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.3663, allocations: 12 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.3668, allocations: 240.4 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3686, allocations: 1.059 MB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.3691, allocations: 323.5 kB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3694, allocations: 162.4 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.3695, allocations: 11.94 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3695, allocations: 42.5 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.3695, allocations: 0 / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003948/0.3735, allocations: 2.016 MB / 0.5715 GB, free: 9.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.3735, allocations: 110.8 kB / 0.5716 GB, free: 8.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.3738, allocations: 245.9 kB / 0.5718 GB, free: 8.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.3738, allocations: 37.64 kB / 0.5718 GB, free: 8.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.374, allocations: 184.9 kB / 0.572 GB, free: 8.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.3741, allocations: 214.2 kB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3743, allocations: 82.34 kB / 0.5723 GB, free: 8.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3744, allocations: 350.7 kB / 0.5726 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3747, allocations: 129.2 kB / 0.5728 GB, free: 7.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3751, allocations: 236.8 kB / 0.573 GB, free: 7.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.3757, allocations: 397.9 kB / 0.5734 GB, free: 6.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3757, allocations: 4 kB / 0.5734 GB, free: 6.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001099/0.3768, allocations: 0.5462 MB / 0.5739 GB, free: 6.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3769, allocations: 4 kB / 0.5739 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3769, allocations: 4 kB / 0.5739 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.3773, allocations: 130.7 kB / 0.574 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.3777, allocations: 95.92 kB / 0.5741 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/0.3825, allocations: 4.899 MB / 0.5789 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.3828, allocations: 19.98 kB / 0.5789 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.3828, allocations: 24 kB / 0.579 GB, free: 0.8555 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.0002502/0.3831, allocations: 175.4 kB / 0.5791 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3832, allocations: 39.7 kB / 0.5792 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3833, allocations: 50.11 kB / 0.5792 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3833, allocations: 8 kB / 0.5792 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.3833, allocations: 7.875 kB / 0.5792 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.3834, allocations: 7.984 kB / 0.5792 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.3856, allocations: 1.276 MB / 0.5805 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3856, allocations: 12.08 kB / 0.5805 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.386, allocations: 95.83 kB / 0.5806 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.3863, allocations: 94.45 kB / 0.5807 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.3863, allocations: 12 kB / 0.5807 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003626/0.39, allocations: 4.125 MB / 0.5847 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.39, allocations: 7.969 kB / 0.5847 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3914, allocations: 0.9164 MB / 0.5856 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.3915, allocations: 39.81 kB / 0.5856 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.3915, allocations: 15.98 kB / 0.5857 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3918, allocations: 12 kB / 0.5857 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3919, allocations: 51.84 kB / 0.5857 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.392, allocations: 16 kB / 0.5857 GB, free: 9.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.3922, allocations: 181.2 kB / 0.5859 GB, free: 9.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3922, allocations: 0 / 0.5859 GB, free: 9.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007686/0.3929, allocations: 123.9 kB / 0.586 GB, free: 9.137 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.001753/0.3947, allocations: 1.478 MB / 0.5875 GB, free: 7.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.3962, allocations: 0.7494 MB / 0.5882 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3962, allocations: 4.188 kB / 0.5882 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008608/0.397, allocations: 0.5605 MB / 0.5888 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.3977, allocations: 69.14 kB / 0.5888 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.4042, allocations: 4.178 MB / 0.5929 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.4048, allocations: 0.828 MB / 0.5937 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.405, allocations: 35.27 kB / 0.5937 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.4052, allocations: 127.4 kB / 0.5939 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4052, allocations: 0 / 0.5939 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04918/0.4544, allocations: 8.81 MB / 0.6025 GB, free: 8.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.99, allocations: 5.406 kB / 0.6025 GB, free: 8.125 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.305809147997934]