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.001413/0.001413, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001582/0.001582, allocations: 213.1 kB / 24.54 MB, free: 4.016 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.625/1.625, allocations: 230.3 MB / 258 MB, free: 8.27 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.2567/0.2567, allocations: 46.89 MB / 361.3 MB, free: 4.477 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.002311/0.002311, allocations: 79.86 kB / 0.4966 GB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.377, allocations: 66.03 MB / 0.5611 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004455/0.3814, allocations: 2.875 MB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3831, allocations: 0.8023 MB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.3834, allocations: 15.88 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3836, allocations: 67.31 kB / 0.5647 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3839, allocations: 126.9 kB / 0.5648 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.3843, allocations: 123.7 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.3848, allocations: 454.3 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.3851, allocations: 136.8 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.3854, allocations: 183.3 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3857, allocations: 187.2 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.3857, allocations: 39.94 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.3858, allocations: 39.98 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.3859, allocations: 83.69 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3861, allocations: 207 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.3866, allocations: 462 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3866, allocations: 3.984 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3866, allocations: 3.938 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.3867, allocations: 0 / 0.5667 GB, free: 14.92 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.001109/0.3878, allocations: 0.6741 MB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3878, allocations: 8.031 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.656e-05/0.3879, allocations: 86.7 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.3882, allocations: 72.62 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3887, allocations: 307.4 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.3887, allocations: 29.38 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.3888, allocations: 44.36 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.3895, allocations: 381.2 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3895, allocations: 7.953 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.3896, allocations: 16 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3896, allocations: 8 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.3901, allocations: 248.3 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3919, allocations: 1.109 MB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.3925, allocations: 331.4 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.3928, allocations: 154.5 kB / 0.57 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.3928, allocations: 8 kB / 0.57 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3929, allocations: 46.44 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.126e-06/0.3929, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004485/0.3974, allocations: 2.453 MB / 0.5725 GB, free: 8.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3975, allocations: 114.8 kB / 0.5726 GB, free: 8.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.3978, allocations: 237.9 kB / 0.5728 GB, free: 8.109 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.3978, allocations: 41.7 kB / 0.5729 GB, free: 8.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3979, allocations: 184.9 kB / 0.573 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3981, allocations: 206.2 kB / 0.5732 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3983, allocations: 86.34 kB / 0.5733 GB, free: 7.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3984, allocations: 354.7 kB / 0.5737 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3987, allocations: 133.2 kB / 0.5738 GB, free: 7.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.3991, allocations: 228.8 kB / 0.574 GB, free: 6.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.3998, allocations: 405.9 kB / 0.5744 GB, free: 6.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3998, allocations: 0 / 0.5744 GB, free: 6.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001141/0.4009, allocations: 0.5462 MB / 0.5749 GB, free: 5.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.4009, allocations: 8 kB / 0.5749 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.401, allocations: 4 kB / 0.5749 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.4014, allocations: 126.5 kB / 0.5751 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.4018, allocations: 99.88 kB / 0.5751 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/0.4068, allocations: 5.218 MB / 0.5802 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.4071, allocations: 20.03 kB / 0.5803 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.4072, allocations: 23.98 kB / 0.5803 GB, free: 15.93 MB / 430.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.0002572/0.4074, allocations: 169.8 kB / 0.5804 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4076, allocations: 39.77 kB / 0.5805 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.4077, allocations: 42.11 kB / 0.5805 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4077, allocations: 11.94 kB / 0.5805 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.4077, allocations: 7.938 kB / 0.5805 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.4077, allocations: 3.984 kB / 0.5806 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.41, allocations: 1.326 MB / 0.5818 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.41, allocations: 0 / 0.5818 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.4104, allocations: 95.88 kB / 0.5819 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/0.4107, allocations: 98.39 kB / 0.582 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.4107, allocations: 12 kB / 0.582 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.4148, allocations: 4.432 MB / 0.5864 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4148, allocations: 7.969 kB / 0.5864 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4163, allocations: 0.9181 MB / 0.5873 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4165, allocations: 108.9 kB / 0.5874 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.4165, allocations: 12.06 kB / 0.5874 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.4168, allocations: 19.98 kB / 0.5874 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4169, allocations: 47.86 kB / 0.5875 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.4169, allocations: 16 kB / 0.5875 GB, free: 8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.4171, allocations: 177.2 kB / 0.5876 GB, free: 7.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4171, allocations: 0 / 0.5876 GB, free: 7.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007545/0.4179, allocations: 124 kB / 0.5878 GB, free: 7.703 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.001889/0.4198, allocations: 1.482 MB / 0.5892 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4212, allocations: 0.7558 MB / 0.5899 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4212, allocations: 0 / 0.5899 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.4221, allocations: 0.5582 MB / 0.5905 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.4229, allocations: 61.2 kB / 0.5905 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.4291, allocations: 4.201 MB / 0.5946 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4296, allocations: 0.8202 MB / 0.5954 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.4298, allocations: 39.25 kB / 0.5955 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4299, allocations: 131.4 kB / 0.5956 GB, free: 15.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4299, allocations: 0 / 0.5956 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.4732, allocations: 8.737 MB / 0.6041 GB, free: 6.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.21, allocations: 3.938 kB / 0.6041 GB, free: 6.691 MB / 446.1 MB " [Timeout remaining time 649] (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.0.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: 14.626627638936043]