Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.00138/0.00138, allocations: 114 kB / 20.43 MB, free: 1.457 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.001533/0.001533, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.3475/0.3475, allocations: 46.93 MB / 360.8 MB, free: 4.18 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.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 87.86 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3356, allocations: 66.08 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003029/0.3387, allocations: 1.677 MB / 0.5624 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.339, allocations: 115.6 kB / 0.5625 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.339, allocations: 0 / 0.5625 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.3391, allocations: 19.8 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.3392, allocations: 39.64 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.3393, allocations: 23.97 kB / 0.5625 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3395, allocations: 127.4 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3396, allocations: 33.28 kB / 0.5627 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.3397, allocations: 47.86 kB / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.3398, allocations: 47.78 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.3398, allocations: 12 kB / 0.5628 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.3399, allocations: 8 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.3399, allocations: 23.92 kB / 0.5628 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.34, allocations: 59.73 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3402, allocations: 121.3 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3402, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3402, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3402, allocations: 0 / 0.563 GB, free: 1.961 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005014/0.3407, allocations: 338 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3407, allocations: 12.03 kB / 0.5633 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.3408, allocations: 46.73 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3408, allocations: 12.89 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.341, allocations: 142.3 kB / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.341, allocations: 8.609 kB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.341, allocations: 12.38 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3413, allocations: 121.6 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3413, allocations: 11.89 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3413, allocations: 8 kB / 0.5637 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3413, allocations: 4 kB / 0.5637 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3414, allocations: 67.83 kB / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.3422, allocations: 479.7 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3423, allocations: 89.08 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.3424, allocations: 29.83 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.3424, allocations: 0 / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3424, allocations: 30.56 kB / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.3424, allocations: 0 / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005298/0.3429, allocations: 155.2 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.343, allocations: 81.09 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3431, allocations: 121.8 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.3431, allocations: 25.7 kB / 0.5647 GB, free: 16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.3432, allocations: 119.8 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3433, allocations: 31.73 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.3433, allocations: 37.7 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3435, allocations: 318.8 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.3435, allocations: 23.98 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.713e-05/0.3436, allocations: 94.7 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3438, allocations: 128.8 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3438, allocations: 0 / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002912/0.3441, allocations: 159.1 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3441, allocations: 14.27 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3441, allocations: 7.938 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.3443, allocations: 41.95 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.3444, allocations: 20 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.3465, allocations: 2.531 MB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.3465, allocations: 15.89 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3466, allocations: 4 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.3467, allocations: 126.9 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.3467, allocations: 12.03 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.3468, allocations: 12.08 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3468, allocations: 4 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3468, allocations: 0 / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3468, allocations: 3.984 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.3471, allocations: 184.5 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3471, allocations: 0 / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3472, allocations: 15.98 kB / 0.5685 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.3473, allocations: 37.64 kB / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3473, allocations: 4 kB / 0.5685 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.3492, allocations: 2.52 MB / 0.571 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3492, allocations: 4.031 kB / 0.571 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.3496, allocations: 300.3 kB / 0.5713 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.3496, allocations: 8.297 kB / 0.5713 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3496, allocations: 3.984 kB / 0.5713 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.3497, allocations: 8.094 kB / 0.5713 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.3497, allocations: 11.98 kB / 0.5713 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3497, allocations: 4 kB / 0.5713 GB, free: 8.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.773e-05/0.3498, allocations: 95.64 kB / 0.5714 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3498, allocations: 3.938 kB / 0.5714 GB, free: 8.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.3502, allocations: 39.89 kB / 0.5715 GB, free: 8.453 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006673/0.3508, allocations: 0.8305 MB / 0.5723 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.3513, allocations: 309.6 kB / 0.5726 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3513, allocations: 0 / 0.5726 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3516, allocations: 257.3 kB / 0.5728 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.3521, allocations: 31.11 kB / 0.5728 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3544, allocations: 1.978 MB / 0.5748 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3548, allocations: 0.7045 MB / 0.5755 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.167e-05/0.3548, allocations: 12.97 kB / 0.5755 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.3549, allocations: 27.42 kB / 0.5755 GB, free: 4.051 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3549, allocations: 0 / 0.5755 GB, free: 4.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.3913, allocations: 3.134 MB / 0.5786 GB, free: 1.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.21, allocations: 0 / 0.5786 GB, free: 1.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_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_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J1.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.423472220005351]