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.00157/0.00157, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001722/0.001722, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2397/0.2397, allocations: 46.96 MB / 361.6 MB, free: 4.062 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.002031/0.002031, allocations: 71.89 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 66.03 MB / 0.5618 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00337/0.3304, allocations: 1.87 MB / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3315, allocations: 0.5309 MB / 0.5641 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.3316, allocations: 4 kB / 0.5642 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.3317, allocations: 23.73 kB / 0.5642 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3318, allocations: 43.62 kB / 0.5642 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.332, allocations: 39.95 kB / 0.5643 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3322, allocations: 155.2 kB / 0.5644 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3324, allocations: 57.77 kB / 0.5645 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3326, allocations: 55.84 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3327, allocations: 71.69 kB / 0.5646 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3327, allocations: 15.94 kB / 0.5646 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.3328, allocations: 12 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.3328, allocations: 31.8 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.3329, allocations: 55.8 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3331, allocations: 165.7 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3331, allocations: 0 / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3331, allocations: 0 / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3331, allocations: 0 / 0.5648 GB, free: 1.109 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.000612/0.3337, allocations: 365.7 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3338, allocations: 8.031 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.3339, allocations: 28.83 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3343, allocations: 146.3 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3343, allocations: 8.375 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.3343, allocations: 16.33 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.3346, allocations: 130.3 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3346, allocations: 4 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3346, allocations: 4 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3346, allocations: 4 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.3349, allocations: 91.86 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.3355, allocations: 368.1 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.3358, allocations: 114.5 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3359, allocations: 52.84 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3359, allocations: 7.938 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.336, allocations: 34.56 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.336, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001494/0.3375, allocations: 0.6577 MB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3375, allocations: 59.39 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3376, allocations: 124.7 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3376, allocations: 37.7 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.3377, allocations: 116.4 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.3378, allocations: 67.39 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.3379, allocations: 37.7 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.338, allocations: 326.8 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3381, allocations: 43.98 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3382, allocations: 74.22 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.3385, allocations: 139.2 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3385, allocations: 7.938 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003892/0.3389, allocations: 194.3 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3389, allocations: 8 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3389, allocations: 0 / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.3391, allocations: 48.83 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3392, allocations: 39.92 kB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.3409, allocations: 1.602 MB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.341, allocations: 4 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.341, allocations: 15.94 kB / 0.5697 GB, free: 11.83 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.0001186/0.3411, allocations: 125.8 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3411, allocations: 7.953 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.3412, allocations: 20.72 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3412, allocations: 8.062 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3412, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.3412, allocations: 7.953 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3412, allocations: 11.92 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.3413, allocations: 4 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.3414, allocations: 23.86 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005846/0.3419, allocations: 293.8 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004769/0.3424, allocations: 400.9 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001115/0.3425, allocations: 55.86 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.3426, allocations: 103.2 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.3426, allocations: 0 / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007452/0.3433, allocations: 293.1 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 0.001053/0.3444, allocations: 0.8914 MB / 0.5718 GB, free: 9.508 MB / 414.1 MB Notification: Performance of Templates: time 0.005677/0.3501, allocations: 2.021 MB / 0.5738 GB, free: 7.504 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 -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.038684628001647]