Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001115/0.001115, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.001296/0.001296, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8865/0.8865, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.239e-05, allocations: 10.08 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002244/0.002267, allocations: 1.604 MB / 408.4 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.002576, allocations: 107.6 kB / 408.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.002642, allocations: 0 / 408.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.002693, allocations: 15.86 kB / 408.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.002798, allocations: 47.56 kB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.002922, allocations: 23.97 kB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003048, allocations: 131.3 kB / 408.8 MB, free: 328 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.003179, allocations: 29.3 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003279, allocations: 71.86 kB / 408.8 MB, free: 224 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.003342, allocations: 35.89 kB / 408.9 MB, free: 188 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.003368, allocations: 12 kB / 408.9 MB, free: 176 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.003383, allocations: 8 kB / 408.9 MB, free: 168 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.003406, allocations: 19.92 kB / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.003452, allocations: 35.92 kB / 409 MB, free: 112 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.003622, allocations: 127.6 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003624, allocations: 0 / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003626, allocations: 0 / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.00363, allocations: 7.938 kB / 409.1 MB, free: 15.98 MB / 394.7 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.0003733/0.004004, allocations: 342.1 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.004044, allocations: 8.031 kB / 409.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.004079, allocations: 38.75 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.004112, allocations: 28.77 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.004251, allocations: 129.6 kB / 409.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.004263, allocations: 8.609 kB / 409.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.00429, allocations: 16.33 kB / 409.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.00447, allocations: 133.5 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.004483, allocations: 4.188 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.00451, allocations: 4.375 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.004517, allocations: 12.12 kB / 409.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.004599, allocations: 59.89 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.005107, allocations: 467.7 kB / 410.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.005215, allocations: 85.14 kB / 410.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.005247, allocations: 29.72 kB / 410.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.005257, allocations: 0 / 410.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.005276, allocations: 30.56 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.005277, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003948/0.005672, allocations: 163.2 kB / 410.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.005709, allocations: 77.11 kB / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.005793, allocations: 125.8 kB / 410.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005803, allocations: 25.7 kB / 410.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.005858, allocations: 123.7 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.005879, allocations: 31.73 kB / 411 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.005917, allocations: 33.66 kB / 411 MB, free: 13.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.006002, allocations: 322.8 kB / 411.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.006036, allocations: 27.98 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.0061, allocations: 92.45 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.006222, allocations: 120.5 kB / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.006225, allocations: 0 / 411.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001965/0.006421, allocations: 171 kB / 411.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.006436, allocations: 8 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.006443, allocations: 4 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.006584, allocations: 37.7 kB / 411.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.006654, allocations: 16 kB / 411.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.008001, allocations: 2.528 MB / 414.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.008053, allocations: 11.89 kB / 414.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.008063, allocations: 8 kB / 414.4 MB, free: 10.18 MB / 394.7 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 9.56e-05/0.008159, allocations: 130.1 kB / 414.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.008188, allocations: 7.953 kB / 414.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.00821, allocations: 11.98 kB / 414.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008211, allocations: 4 kB / 414.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.008217, allocations: 3.938 kB / 414.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00822, allocations: 0 / 414.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.008398, allocations: 168.7 kB / 414.7 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.0084, allocations: 0 / 414.7 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.008463, allocations: 15.98 kB / 414.7 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.892e-05/0.008542, allocations: 37.7 kB / 414.7 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008552, allocations: 7.938 kB / 414.7 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.00968, allocations: 2.527 MB / 417.3 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009682, allocations: 0 / 417.3 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.009885, allocations: 308.4 kB / 417.6 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.009893, allocations: 7.953 kB / 417.6 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.009905, allocations: 4 kB / 417.6 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.009962, allocations: 0 / 417.6 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.009987, allocations: 7.984 kB / 417.6 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.009991, allocations: 7.938 kB / 417.6 MB, free: 6.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.01003, allocations: 95.27 kB / 417.7 MB, free: 6.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 417.7 MB, free: 6.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01029, allocations: 32 kB / 417.7 MB, free: 6.508 MB / 394.7 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.0003762/0.01067, allocations: 0.8421 MB / 418.6 MB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.011, allocations: 297.2 kB / 418.8 MB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.011, allocations: 0 / 418.8 MB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.01113, allocations: 258.2 kB / 419.1 MB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.0115, allocations: 28.09 kB / 419.1 MB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.01289, allocations: 1.886 MB / 421 MB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.01296, allocations: 97.8 kB / 421.1 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.013, allocations: 8.984 kB / 421.1 MB, free: 2.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.01304, allocations: 32.48 kB / 421.1 MB, free: 2.809 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01305, allocations: 0 / 421.1 MB, free: 2.809 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.03854, allocations: 3.783 MB / 424.9 MB, free: 15.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.385, allocations: 0 / 424.9 MB, free: 15.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.478968687355518]