Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.89 MB / 359.9 MB, free: 4.973 MB / 286.1 MB [Timeout remaining time 90] 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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.88 kB / 0.495 GB, free: 8.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3317, allocations: 66 MB / 0.5594 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004161/0.3359, allocations: 2.853 MB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3373, allocations: 0.7751 MB / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.3374, allocations: 15.88 kB / 0.563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.3376, allocations: 55.38 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.3379, allocations: 134.8 kB / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.3382, allocations: 107.8 kB / 0.5633 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.3386, allocations: 438 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.3388, allocations: 109.6 kB / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.3391, allocations: 175.4 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.3393, allocations: 179.2 kB / 0.5641 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.3394, allocations: 32 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.3395, allocations: 36 kB / 0.5642 GB, free: 248 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.3396, allocations: 79.7 kB / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.3398, allocations: 199.1 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.3403, allocations: 444.5 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3403, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3403, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3403, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001007/0.3413, allocations: 0.6664 MB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3413, allocations: 8.031 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.3416, allocations: 60.67 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.342, allocations: 284.6 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.342, allocations: 25.38 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.3421, allocations: 52.33 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.3428, allocations: 390.5 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.3428, allocations: 11.89 kB / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.3428, allocations: 20 kB / 0.5663 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3428, allocations: 8 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.3433, allocations: 219.7 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.3456, allocations: 1.719 MB / 0.5682 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.3461, allocations: 250.4 kB / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.3462, allocations: 94.02 kB / 0.5686 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.3463, allocations: 8 kB / 0.5686 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3463, allocations: 46.48 kB / 0.5686 GB, free: 11.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3463, allocations: 0 / 0.5686 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006891/0.347, allocations: 270 kB / 0.5689 GB, free: 11.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3471, allocations: 209.6 kB / 0.5691 GB, free: 10.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3474, allocations: 275.2 kB / 0.5693 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3474, allocations: 29.7 kB / 0.5694 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.3476, allocations: 263.9 kB / 0.5696 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.3477, allocations: 115 kB / 0.5697 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3478, allocations: 102.3 kB / 0.5698 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.348, allocations: 354.7 kB / 0.5702 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3482, allocations: 93.27 kB / 0.5703 GB, free: 9.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.3487, allocations: 420.8 kB / 0.5707 GB, free: 9.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.3494, allocations: 0.5745 MB / 0.5712 GB, free: 8.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3494, allocations: 12 kB / 0.5712 GB, free: 8.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008872/0.3503, allocations: 0.5361 MB / 0.5718 GB, free: 7.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.3504, allocations: 8 kB / 0.5718 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.3504, allocations: 12 kB / 0.5718 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.3504, allocations: 16 kB / 0.5718 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3509, allocations: 144.4 kB / 0.5719 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.3509, allocations: 23.92 kB / 0.5719 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.3512, allocations: 67.56 kB / 0.572 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.3512, allocations: 32 kB / 0.572 GB, free: 7.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.3514, allocations: 181.5 kB / 0.5722 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3516, allocations: 35.81 kB / 0.5723 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.3516, allocations: 33.83 kB / 0.5723 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3517, allocations: 4 kB / 0.5723 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3517, allocations: 0 / 0.5723 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3517, allocations: 8 kB / 0.5723 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3529, allocations: 0.6553 MB / 0.5729 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3529, allocations: 4 kB / 0.5729 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.3534, allocations: 87.89 kB / 0.573 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3534, allocations: 4 kB / 0.573 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3534, allocations: 11.98 kB / 0.573 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3534, allocations: 12 kB / 0.573 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3534, allocations: 0 / 0.573 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.3542, allocations: 0.8348 MB / 0.5739 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.3543, allocations: 104.9 kB / 0.574 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3544, allocations: 8 kB / 0.574 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.3547, allocations: 19.92 kB / 0.574 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.3548, allocations: 24.05 kB / 0.574 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3548, allocations: 15.98 kB / 0.574 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.355, allocations: 186 kB / 0.5742 GB, free: 5.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.355, allocations: 0 / 0.5742 GB, free: 5.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007203/0.3557, allocations: 99.89 kB / 0.5743 GB, free: 5.027 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.3559, allocations: 104.5 kB / 0.5744 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.3564, allocations: 282.2 kB / 0.5747 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3564, allocations: 4.062 kB / 0.5747 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3566, allocations: 91.72 kB / 0.5748 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.3575, allocations: 74.69 kB / 0.5748 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3599, allocations: 1.581 MB / 0.5764 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3604, allocations: 0.8026 MB / 0.5772 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.3604, allocations: 35.38 kB / 0.5772 GB, free: 1.969 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3605, allocations: 0 / 0.5772 GB, free: 1.969 MB / 414.1 MB Notification: Performance of Templates: time 0.007013/0.3675, allocations: 4.234 MB / 0.5813 GB, free: 13.74 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches