Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001852/0.001852, 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.002574/0.002574, allocations: 209 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.503/1.503, allocations: 230.6 MB / 258.3 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.2192/0.2192, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003112/0.2861, allocations: 1.87 MB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000951/0.2871, allocations: 0.5231 MB / 0.5641 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.2872, allocations: 7.938 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2873, allocations: 15.8 kB / 0.5642 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2874, allocations: 51.62 kB / 0.5642 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.2876, allocations: 51.88 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.2878, allocations: 151.2 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.288, allocations: 44.84 kB / 0.5644 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.2881, allocations: 71.77 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2882, allocations: 59.7 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.2883, allocations: 12 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.2883, allocations: 16 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.2883, allocations: 35.91 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2884, allocations: 55.73 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.2886, allocations: 161.7 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2887, allocations: 0 / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2887, allocations: 0 / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2887, allocations: 4 kB / 0.5648 GB, free: 1.039 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005635/0.2892, allocations: 365.7 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2893, allocations: 8.031 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2894, allocations: 24.83 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2896, allocations: 158.3 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2897, allocations: 12.31 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.2897, allocations: 16.33 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.29, allocations: 130.3 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.29, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.29, allocations: 4 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.29, allocations: 4 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.2902, allocations: 87.92 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.2909, allocations: 372.3 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.2911, allocations: 110.5 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.2912, allocations: 48.78 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2912, allocations: 4 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2913, allocations: 38.5 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.2913, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001445/0.2927, allocations: 0.658 MB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.2928, allocations: 59.39 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2929, allocations: 128.6 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2929, allocations: 25.7 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.293, allocations: 120.4 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.293, allocations: 79.31 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.2931, allocations: 33.7 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2933, allocations: 326.8 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2934, allocations: 43.98 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2935, allocations: 71.41 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.2938, allocations: 143.2 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2938, allocations: 3.938 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004122/0.2942, allocations: 194.3 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2942, allocations: 8 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2942, allocations: 0 / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.2944, allocations: 48.8 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2946, allocations: 32.05 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.2964, allocations: 1.602 MB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.2964, allocations: 8.031 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2965, allocations: 11.88 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.2966, allocations: 133.9 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.2966, allocations: 11.95 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.2967, allocations: 12.78 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2967, allocations: 4 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2967, allocations: 0 / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2967, allocations: 0 / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.2975, allocations: 498.1 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2975, allocations: 0 / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2977, allocations: 39.92 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.2978, allocations: 32.83 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2978, allocations: 192 / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.2991, allocations: 1.358 MB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2991, allocations: 0 / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.2996, allocations: 345.1 kB / 0.572 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.2996, allocations: 11.94 kB / 0.572 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.2996, allocations: 8 kB / 0.572 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.2997, allocations: 4 kB / 0.572 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.2998, allocations: 15.97 kB / 0.572 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2998, allocations: 8 kB / 0.572 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.2998, allocations: 91.27 kB / 0.5721 GB, free: 9.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2998, allocations: 4 kB / 0.5721 GB, free: 9.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.3002, allocations: 40 kB / 0.5722 GB, free: 8.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.3003, allocations: 95.31 kB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.3008, allocations: 254.8 kB / 0.5725 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3008, allocations: 0 / 0.5725 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.3011, allocations: 190.7 kB / 0.5727 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3014, allocations: 27.92 kB / 0.5727 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.3022, allocations: 441.6 kB / 0.5731 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3023, allocations: 119.6 kB / 0.5733 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.571e-05/0.3023, allocations: 9.422 kB / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.3024, allocations: 15.44 kB / 0.5733 GB, free: 7.777 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3024, allocations: 0 / 0.5733 GB, free: 7.777 MB / 414.1 MB Notification: Performance of Templates: time 0.005113/0.3075, allocations: 1.781 MB / 0.575 GB, free: 6.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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: 5.15305805800017]