Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00188/0.00188, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.002335/0.002335, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.91 MB / 359.6 MB, free: 6.367 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 63.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3157, allocations: 65.47 MB / 0.5582 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002952/0.3186, allocations: 1.677 MB / 0.5599 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.3189, allocations: 111.6 kB / 0.56 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.319, allocations: 3.938 kB / 0.56 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.319, allocations: 15.8 kB / 0.56 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3192, allocations: 43.7 kB / 0.56 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.3193, allocations: 19.97 kB / 0.5601 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3195, allocations: 135.4 kB / 0.5602 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3196, allocations: 29.3 kB / 0.5602 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.3197, allocations: 47.8 kB / 0.5603 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.3198, allocations: 51.77 kB / 0.5603 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3198, allocations: 12 kB / 0.5603 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.3198, allocations: 8 kB / 0.5603 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.3199, allocations: 19.94 kB / 0.5603 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.3199, allocations: 55.73 kB / 0.5604 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3201, allocations: 129.9 kB / 0.5605 GB, free: 5.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3201, allocations: 4 kB / 0.5605 GB, free: 5.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3201, allocations: 0 / 0.5605 GB, free: 5.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3201, allocations: 0 / 0.5605 GB, free: 5.359 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.0005116/0.3206, allocations: 326.2 kB / 0.5608 GB, free: 5.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3207, allocations: 12.03 kB / 0.5609 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.3207, allocations: 12.88 kB / 0.5609 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3209, allocations: 142.3 kB / 0.561 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3209, allocations: 8.609 kB / 0.561 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.321, allocations: 16.38 kB / 0.561 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3212, allocations: 125.5 kB / 0.5611 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3212, allocations: 8.141 kB / 0.5611 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3212, allocations: 7.938 kB / 0.5612 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3212, allocations: 4 kB / 0.5612 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3213, allocations: 55.95 kB / 0.5612 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.3221, allocations: 495.5 kB / 0.5617 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3222, allocations: 81.22 kB / 0.5618 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.3223, allocations: 29.64 kB / 0.5618 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3223, allocations: 7.938 kB / 0.5618 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3223, allocations: 42.64 kB / 0.5618 GB, free: 3.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3223, allocations: 3.938 kB / 0.5618 GB, free: 3.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.3229, allocations: 139.2 kB / 0.562 GB, free: 3.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.323, allocations: 81.11 kB / 0.5621 GB, free: 3.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3231, allocations: 125.8 kB / 0.5622 GB, free: 3.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3231, allocations: 25.7 kB / 0.5622 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.3232, allocations: 123.8 kB / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3232, allocations: 27.75 kB / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.3233, allocations: 29.7 kB / 0.5624 GB, free: 3.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3234, allocations: 326.8 kB / 0.5627 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.3235, allocations: 27.94 kB / 0.5627 GB, free: 2.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.3236, allocations: 88.58 kB / 0.5628 GB, free: 2.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3237, allocations: 120.5 kB / 0.5629 GB, free: 2.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3237, allocations: 0 / 0.5629 GB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000299/0.324, allocations: 167.2 kB / 0.5631 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.324, allocations: 10.81 kB / 0.5631 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.324, allocations: 4 kB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.3242, allocations: 41.64 kB / 0.5631 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.3243, allocations: 23.92 kB / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.3265, allocations: 2.535 MB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.3265, allocations: 15.92 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3265, allocations: 12.16 kB / 0.5656 GB, free: 15.59 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.0001223/0.3267, allocations: 122.4 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.3267, allocations: 4 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.3268, allocations: 15.92 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3268, allocations: 0 / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3268, allocations: 4 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3268, allocations: 0 / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.327, allocations: 180.6 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.327, allocations: 8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.3271, allocations: 15.94 kB / 0.566 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.3272, allocations: 29.7 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3273, allocations: 11.94 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.3292, allocations: 2.519 MB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3292, allocations: 3.938 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3295, allocations: 316.5 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.3296, allocations: 3.953 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3296, allocations: 7.938 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.3297, allocations: 4 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.3297, allocations: 7.984 kB / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3297, allocations: 0 / 0.5688 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.3298, allocations: 95.27 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 4 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3301, allocations: 39.89 kB / 0.5689 GB, free: 11.9 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.0001209/0.3303, allocations: 95.25 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.3308, allocations: 309.8 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3308, allocations: 0 / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.3311, allocations: 261.2 kB / 0.5696 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3316, allocations: 23.98 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.3324, allocations: 496 kB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3328, allocations: 0.7045 MB / 0.5708 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.3328, allocations: 15.44 kB / 0.5708 GB, free: 9.902 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3328, allocations: 0 / 0.5708 GB, free: 9.902 MB / 414.1 MB Notification: Performance of Templates: time 0.00476/0.3376, allocations: 2.46 MB / 0.5732 GB, free: 7.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.330130806891248]