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.0008872/0.0008872, allocations: 87.58 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001098/0.001098, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 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 0.9611/0.9611, allocations: 177.2 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2688/0.2688, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.877e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001855/0.001873, allocations: 1.706 MB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000246/0.002119, allocations: 111.6 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.002169, allocations: 0 / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.002352, allocations: 15.86 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.002446, allocations: 35.64 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.002557, allocations: 27.95 kB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002665, allocations: 127.3 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.002772, allocations: 29.14 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.197e-05/0.002864, allocations: 79.8 kB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.002929, allocations: 31.91 kB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.002951, allocations: 12 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.002966, allocations: 8 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.002989, allocations: 27.91 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.003026, allocations: 39.91 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.00315, allocations: 87.67 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003153, allocations: 0 / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003153, allocations: 0 / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.003157, allocations: 0 / 380.4 MB, free: 316 kB / 346.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.0003643/0.003522, allocations: 436.4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003554, allocations: 8.031 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.003597, allocations: 24.88 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.003727, allocations: 140.4 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.003738, allocations: 8.609 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.003763, allocations: 16.36 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.00391, allocations: 115.2 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.003921, allocations: 4.141 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.003932, allocations: 4.375 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.003939, allocations: 4.375 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.003998, allocations: 51.83 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.004446, allocations: 0.5295 MB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.00454, allocations: 86.14 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.004569, allocations: 27.45 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.004576, allocations: 3.938 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.004596, allocations: 41.39 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.004597, allocations: 0 / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003094/0.004906, allocations: 144.8 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.004939, allocations: 81.11 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.005015, allocations: 185.8 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005023, allocations: 25.7 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.005078, allocations: 166.6 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.005098, allocations: 35.72 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.005129, allocations: 31.38 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005229, allocations: 0.4923 MB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.005251, allocations: 11.98 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.005306, allocations: 112.7 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.005394, allocations: 136.7 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.005397, allocations: 4 kB / 383.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003871/0.005784, allocations: 165.1 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005797, allocations: 9.562 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005801, allocations: 0 / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.005938, allocations: 35.36 kB / 383.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.005998, allocations: 27.92 kB / 383.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.007229, allocations: 3.46 MB / 386.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.007264, allocations: 11.89 kB / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007272, allocations: 12 kB / 387 MB, free: 9.105 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 6.76e-05/0.00734, allocations: 168.8 kB / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.007363, allocations: 4 kB / 387.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.007377, allocations: 12 kB / 387.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.007378, allocations: 0 / 387.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.007382, allocations: 0 / 387.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007384, allocations: 0 / 387.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.00751, allocations: 152.5 kB / 387.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.007513, allocations: 7.922 kB / 387.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.007565, allocations: 15.98 kB / 387.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-05/0.007632, allocations: 39.36 kB / 387.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.00764, allocations: 3.938 kB / 387.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.008941, allocations: 3.449 MB / 390.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.008943, allocations: 3.984 kB / 390.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.009129, allocations: 398.3 kB / 391.2 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.009136, allocations: 11.89 kB / 391.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.009142, allocations: 0 / 391.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.00919, allocations: 4 kB / 391.2 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.009211, allocations: 7.984 kB / 391.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.009215, allocations: 7.938 kB / 391.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.009251, allocations: 139.7 kB / 391.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009251, allocations: 0 / 391.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.009463, allocations: 35.95 kB / 391.4 MB, free: 4.336 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 6.608e-05/0.009529, allocations: 95.61 kB / 391.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.009818, allocations: 414.9 kB / 391.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.00982, allocations: 0 / 391.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.009957, allocations: 375.3 kB / 392.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01021, allocations: 27.97 kB / 392.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.01079, allocations: 389.6 kB / 392.7 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.01083, allocations: 72.08 kB / 392.7 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.333e-05/0.01086, allocations: 8.984 kB / 392.7 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.01088, allocations: 12.5 kB / 392.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01088, allocations: 0 / 392.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of Templates: time 0.003066/0.01394, allocations: 1.761 MB / 394.5 MB, free: 1.094 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] 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","",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.0502641880884767]