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.00131/0.00131, allocations: 110 kB / 20.43 MB, free: 1.453 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.00158/0.00158, allocations: 213.3 kB / 23.74 MB, free: 4.66 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.551/1.551, allocations: 230.5 MB / 257.4 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.2434/0.2434, allocations: 46.93 MB / 360.8 MB, free: 4.207 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.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 71.88 kB / 0.4962 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3539, allocations: 66.09 MB / 0.5607 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004649/0.3585, allocations: 2.877 MB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3603, allocations: 0.8062 MB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.3605, allocations: 11.94 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.3607, allocations: 67.31 kB / 0.5644 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.361, allocations: 126.9 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.3614, allocations: 123.8 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.362, allocations: 446.3 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.3623, allocations: 140.6 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.3627, allocations: 187.3 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.363, allocations: 191.1 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.363, allocations: 40 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3631, allocations: 43.94 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.3632, allocations: 75.77 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.3634, allocations: 206.9 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.364, allocations: 458 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.364, allocations: 4 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.364, allocations: 4 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.364, allocations: 0 / 0.5664 GB, free: 14.54 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.001167/0.3652, allocations: 0.6143 MB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3653, allocations: 8.031 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.997e-05/0.3654, allocations: 74.72 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.3657, allocations: 76.61 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.3663, allocations: 237.6 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.3663, allocations: 29.38 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.3664, allocations: 44.38 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.3671, allocations: 377.2 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.3671, allocations: 7.953 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.3672, allocations: 19.94 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3672, allocations: 8 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.3678, allocations: 255.8 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3696, allocations: 1.059 MB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.3702, allocations: 327.5 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.3705, allocations: 162.4 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3705, allocations: 4 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.3706, allocations: 46.44 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.3706, allocations: 0 / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.00411/0.3747, allocations: 2.018 MB / 0.5716 GB, free: 8.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.3748, allocations: 110.8 kB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3751, allocations: 245.8 kB / 0.5719 GB, free: 8.496 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3751, allocations: 41.64 kB / 0.5719 GB, free: 8.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3753, allocations: 180.9 kB / 0.5721 GB, free: 8.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.3755, allocations: 202.2 kB / 0.5723 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3756, allocations: 90.34 kB / 0.5724 GB, free: 7.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3758, allocations: 350.7 kB / 0.5727 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.3761, allocations: 133.2 kB / 0.5729 GB, free: 7.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3764, allocations: 228.8 kB / 0.5731 GB, free: 7.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.3771, allocations: 401.9 kB / 0.5735 GB, free: 6.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3771, allocations: 0 / 0.5735 GB, free: 6.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001145/0.3783, allocations: 0.5501 MB / 0.574 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3783, allocations: 8 kB / 0.574 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.3783, allocations: 4.281 kB / 0.574 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.3787, allocations: 122.5 kB / 0.5741 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.3791, allocations: 95.88 kB / 0.5742 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.3841, allocations: 4.907 MB / 0.579 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3844, allocations: 24.09 kB / 0.579 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.3844, allocations: 16 kB / 0.579 GB, free: 0.7188 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.0002391/0.3847, allocations: 169.7 kB / 0.5792 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3848, allocations: 39.77 kB / 0.5792 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.3849, allocations: 46.11 kB / 0.5793 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3849, allocations: 8 kB / 0.5793 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.3849, allocations: 15.88 kB / 0.5793 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3849, allocations: 0 / 0.5793 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.3872, allocations: 1.287 MB / 0.5806 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3872, allocations: 0 / 0.5806 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3877, allocations: 99.81 kB / 0.5807 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.388, allocations: 102.5 kB / 0.5808 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.388, allocations: 8 kB / 0.5808 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.3918, allocations: 4.123 MB / 0.5848 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3918, allocations: 3.984 kB / 0.5848 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3932, allocations: 0.924 MB / 0.5857 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.3933, allocations: 27.77 kB / 0.5857 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.3934, allocations: 20.05 kB / 0.5857 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.3936, allocations: 15.94 kB / 0.5858 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3938, allocations: 51.84 kB / 0.5858 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3938, allocations: 16 kB / 0.5858 GB, free: 9.305 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.394, allocations: 177.2 kB / 0.586 GB, free: 9.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.394, allocations: 0 / 0.586 GB, free: 9.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007398/0.3947, allocations: 120 kB / 0.5861 GB, free: 9.012 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.001829/0.3966, allocations: 1.478 MB / 0.5876 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.398, allocations: 0.7535 MB / 0.5883 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.398, allocations: 0 / 0.5883 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.3989, allocations: 0.5728 MB / 0.5888 GB, free: 6.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.3996, allocations: 64.72 kB / 0.5889 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006577/0.4062, allocations: 4.18 MB / 0.593 GB, free: 1.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.4067, allocations: 0.8202 MB / 0.5938 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.4069, allocations: 35.28 kB / 0.5938 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.4071, allocations: 135.4 kB / 0.594 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4071, allocations: 0 / 0.594 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0487/0.4558, allocations: 8.8 MB / 0.6025 GB, free: 7.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.91, allocations: 14.27 kB / 0.6026 GB, free: 7.949 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.10755354599678]