Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001721/0.001721, allocations: 85.83 kB / 20.68 MB, free: 1.035 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.002112/0.002112, allocations: 165.5 kB / 23.96 MB, free: 4.164 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.524/1.524, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2441/0.2441, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.908e-05, allocations: 2.281 kB / 442.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003173/0.003212, allocations: 1.635 MB / 444.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.003518, allocations: 103.6 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.003589, allocations: 0 / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.003657, allocations: 19.8 kB / 444.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.003793, allocations: 39.7 kB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.003927, allocations: 23.95 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.004116, allocations: 135.3 kB / 444.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.004269, allocations: 29.09 kB / 444.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.004414, allocations: 75.8 kB / 444.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.004501, allocations: 31.91 kB / 444.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.004533, allocations: 12 kB / 444.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.004561, allocations: 8 kB / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.004597, allocations: 27.91 kB / 444.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.004668, allocations: 47.84 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.004872, allocations: 119.6 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.004877, allocations: 0 / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004878, allocations: 0 / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.004884, allocations: 4 kB / 444.9 MB, free: 3.133 MB / 366.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.0006511/0.005535, allocations: 330.1 kB / 445.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.005574, allocations: 8.031 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.005625, allocations: 12.89 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.00582, allocations: 137.6 kB / 445.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.00584, allocations: 8.609 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.005878, allocations: 16.38 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.006129, allocations: 133.5 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.00615, allocations: 12.12 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.006167, allocations: 4.375 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.006177, allocations: 4.375 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.006312, allocations: 66.97 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.007033, allocations: 444.2 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.007186, allocations: 85.11 kB / 446.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.00723, allocations: 29.8 kB / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.007246, allocations: 4 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.007282, allocations: 38.44 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.007284, allocations: 0 / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005626/0.007846, allocations: 151.2 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.007913, allocations: 77.11 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.008048, allocations: 121.8 kB / 446.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.008071, allocations: 25.7 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.008176, allocations: 127.8 kB / 446.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.008215, allocations: 35.69 kB / 446.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.008265, allocations: 25.72 kB / 446.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.008437, allocations: 322.8 kB / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.008483, allocations: 23.98 kB / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.008592, allocations: 88.52 kB / 447.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.008766, allocations: 120.5 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.008771, allocations: 3.984 kB / 447.4 MB, free: 476 kB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003147/0.009085, allocations: 163 kB / 447.5 MB, free: 300 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.009104, allocations: 8 kB / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.00911, allocations: 0 / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.009323, allocations: 45.95 kB / 447.6 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.009421, allocations: 24.39 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2196/0.229, allocations: 2.469 MB / 450.1 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.2291, allocations: 15.42 kB / 450.1 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2291, allocations: 5.656 kB / 450.1 MB, free: 16.54 MB / 366.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 9.168e-05/0.2292, allocations: 128.7 kB / 450.2 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.2293, allocations: 8.781 kB / 450.2 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.2293, allocations: 13.75 kB / 450.2 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2293, allocations: 5.031 kB / 450.2 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2293, allocations: 3.531 kB / 450.2 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2293, allocations: 1.969 kB / 450.2 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2295, allocations: 136.4 kB / 450.4 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2295, allocations: 2.734 kB / 450.4 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.2296, allocations: 18.06 kB / 450.4 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.2297, allocations: 34.98 kB / 450.4 MB, free: 16.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2297, allocations: 4 kB / 450.4 MB, free: 16.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2309, allocations: 2.478 MB / 452.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2309, allocations: 1.469 kB / 452.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.2311, allocations: 306.5 kB / 453.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.2311, allocations: 5.609 kB / 453.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2311, allocations: 7.484 kB / 453.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.2312, allocations: 1.031 kB / 453.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2312, allocations: 11.28 kB / 453.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.2312, allocations: 3.797 kB / 453.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.899e-05/0.2313, allocations: 94.22 kB / 453.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2313, allocations: 1.312 kB / 453.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.2316, allocations: 38.88 kB / 453.4 MB, free: 13.54 MB / 366.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 9.693e-05/0.2317, allocations: 103.2 kB / 453.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.2321, allocations: 299.4 kB / 453.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2321, allocations: 3.188 kB / 453.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.2323, allocations: 255.4 kB / 454 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2328, allocations: 33 kB / 454 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.2334, allocations: 389 kB / 454.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.2335, allocations: 98.17 kB / 454.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.2335, allocations: 12.05 kB / 454.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.2335, allocations: 13.16 kB / 454.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2335, allocations: 0 / 454.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.005025/0.2385, allocations: 1.646 MB / 456.2 MB, free: 12.42 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.975412704050541]