Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9433/0.9433, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2483/0.2483, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.302e-05, allocations: 2.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002879/0.002902, allocations: 1.693 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.003259, allocations: 107.6 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.003332, allocations: 7.938 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.891e-05/0.003391, allocations: 11.86 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.00352, allocations: 39.69 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.003664, allocations: 27.91 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.003838, allocations: 135.3 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.003982, allocations: 21.16 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.00414, allocations: 79.88 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.00423, allocations: 35.81 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.004259, allocations: 12 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.004281, allocations: 8 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.004315, allocations: 27.91 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.004369, allocations: 39.91 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004529, allocations: 75.75 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004531, allocations: 4 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004532, allocations: 0 / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004536, allocations: 4 kB / 381.1 MB, free: 15.78 MB / 362.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.0004819/0.005018, allocations: 436.3 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005058, allocations: 8.031 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.005113, allocations: 20.89 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.005285, allocations: 148.5 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.005303, allocations: 12.55 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.005347, allocations: 12.38 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.005544, allocations: 111.2 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.005561, allocations: 16.12 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.005575, allocations: 4.375 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.005587, allocations: 4.375 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.005687, allocations: 51.27 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.006348, allocations: 0.5256 MB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.006478, allocations: 94.12 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.006517, allocations: 19.38 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.00653, allocations: 16.02 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.006556, allocations: 37.39 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.006557, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004708/0.007028, allocations: 144.8 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.00707, allocations: 81.11 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.007182, allocations: 189.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.007196, allocations: 25.7 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.00727, allocations: 166.6 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.007297, allocations: 31.73 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.007343, allocations: 35.38 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.007478, allocations: 0.4923 MB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.007512, allocations: 8 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.007606, allocations: 108.8 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.007742, allocations: 136.7 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007744, allocations: 0 / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002485/0.007993, allocations: 165.1 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.008008, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.008017, allocations: 4 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.008229, allocations: 43.59 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.008321, allocations: 23.98 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.01032, allocations: 3.456 MB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.01038, allocations: 7.953 kB / 387.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01039, allocations: 8 kB / 387.7 MB, free: 8.578 MB / 362.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.773e-05/0.01049, allocations: 176.4 kB / 387.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.01054, allocations: 8 kB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.01056, allocations: 8 kB / 387.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.01056, allocations: 8 kB / 387.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01057, allocations: 0 / 387.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01057, allocations: 4.062 kB / 387.9 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.01079, allocations: 152.5 kB / 388 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01079, allocations: 0 / 388 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.01087, allocations: 15.98 kB / 388 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.01098, allocations: 43.3 kB / 388.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01099, allocations: 3.938 kB / 388.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.01275, allocations: 3.445 MB / 391.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01275, allocations: 3.938 kB / 391.5 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.01302, allocations: 390.3 kB / 391.9 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.01303, allocations: 11.88 kB / 391.9 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.01304, allocations: 8.188 kB / 391.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.01313, allocations: 4 kB / 391.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.01316, allocations: 7.984 kB / 391.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.01317, allocations: 7.938 kB / 391.9 MB, free: 3.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.01323, allocations: 139.2 kB / 392.1 MB, free: 3.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01323, allocations: 0 / 392.1 MB, free: 3.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003781/0.0136, allocations: 35.95 kB / 392.1 MB, free: 3.797 MB / 362.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 9.469e-05/0.0137, allocations: 91.25 kB / 392.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.01412, allocations: 411.3 kB / 392.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01413, allocations: 4 kB / 392.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.01442, allocations: 371.3 kB / 393 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.01485, allocations: 28.47 kB / 393 MB, free: 2.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.01572, allocations: 393.6 kB / 393.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.01577, allocations: 68.08 kB / 393.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.01581, allocations: 8.984 kB / 393.5 MB, free: 2.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.4e-05/0.01583, allocations: 12.5 kB / 393.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01584, allocations: 0 / 393.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of Templates: time 0.004474/0.02031, allocations: 1.692 MB / 395.2 MB, free: 0.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2486371491104364]