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.001707/0.001707, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002068/0.002068, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.421/1.421, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.2299/0.2299, allocations: 46.97 MB / 361.6 MB, free: 4.004 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 0.002049/0.002049, allocations: 63.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002824/0.3483, allocations: 1.619 MB / 0.5634 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002658/0.3486, allocations: 99.58 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.3486, allocations: 4 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.262e-05/0.3487, allocations: 15.86 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3488, allocations: 43.62 kB / 0.5635 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.3489, allocations: 31.95 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3491, allocations: 127.4 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3492, allocations: 21.3 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.3493, allocations: 51.84 kB / 0.5638 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.3494, allocations: 47.78 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.3494, allocations: 12 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.3494, allocations: 8 kB / 0.5638 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.3494, allocations: 23.92 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.3495, allocations: 55.78 kB / 0.5639 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3497, allocations: 125.9 kB / 0.564 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3497, allocations: 0 / 0.564 GB, free: 1.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3497, allocations: 0 / 0.564 GB, free: 1.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3497, allocations: 0 / 0.564 GB, free: 1.871 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.0004661/0.3501, allocations: 334.1 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3502, allocations: 8.031 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.3502, allocations: 12.89 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3504, allocations: 138.3 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3504, allocations: 12.59 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.3504, allocations: 16.38 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3507, allocations: 125.6 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3507, allocations: 12.08 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3507, allocations: 7.938 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3507, allocations: 4 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3508, allocations: 59.89 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.3515, allocations: 436.3 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3517, allocations: 89.09 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.3517, allocations: 25.72 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.3517, allocations: 4 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3517, allocations: 38.5 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 2.876e-06/0.3517, allocations: 3.984 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005623/0.3523, allocations: 147.3 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.3524, allocations: 81.09 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3525, allocations: 121.8 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3525, allocations: 25.7 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.3526, allocations: 127.8 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3526, allocations: 31.73 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.3527, allocations: 29.7 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3528, allocations: 322.8 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.3529, allocations: 23.98 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.353, allocations: 87.53 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3532, allocations: 128.4 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3532, allocations: 0 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002816/0.3534, allocations: 159.1 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3535, allocations: 8 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3535, allocations: 4 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.3536, allocations: 49.89 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.3537, allocations: 19.94 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.3558, allocations: 2.486 MB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.3559, allocations: 15.86 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3559, allocations: 12 kB / 0.569 GB, free: 12.24 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.0001207/0.356, allocations: 121.8 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.356, allocations: 7.953 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.3561, allocations: 12 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3561, allocations: 0 / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3561, allocations: 4 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3561, allocations: 12.02 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3563, allocations: 141.2 kB / 0.5693 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3563, allocations: 4 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.3564, allocations: 8 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.3565, allocations: 33.7 kB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3565, allocations: 8 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.3585, allocations: 2.477 MB / 0.5718 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3585, allocations: 0 / 0.5718 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.3588, allocations: 312.3 kB / 0.5721 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.3589, allocations: 8.031 kB / 0.5721 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3589, allocations: 4 kB / 0.5721 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.359, allocations: 7.938 kB / 0.5721 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.359, allocations: 4.234 kB / 0.5721 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.359, allocations: 8 kB / 0.5721 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.829e-05/0.3591, allocations: 95.7 kB / 0.5722 GB, free: 8.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3591, allocations: 4 kB / 0.5722 GB, free: 8.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.3594, allocations: 39.89 kB / 0.5723 GB, free: 8.664 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.0001144/0.3596, allocations: 95.52 kB / 0.5724 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.3601, allocations: 301.9 kB / 0.5726 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3601, allocations: 0 / 0.5726 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.3604, allocations: 261.2 kB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.3608, allocations: 19.98 kB / 0.5729 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.3616, allocations: 477.5 kB / 0.5734 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.3617, allocations: 93.61 kB / 0.5735 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.3617, allocations: 8.969 kB / 0.5735 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.3618, allocations: 11.44 kB / 0.5735 GB, free: 7.309 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3618, allocations: 4 kB / 0.5735 GB, free: 7.305 MB / 414.1 MB Notification: Performance of Templates: time 0.005041/0.3668, allocations: 1.788 MB / 0.5752 GB, free: 5.555 MB / 414.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 -s cvode -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/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_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.938966222995077]