Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001651/0.001651, allocations: 110.2 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.002212/0.002212, allocations: 213.2 kB / 23.54 MB, free: 5.391 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.479/1.479, allocations: 230.2 MB / 256.8 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2576/0.2576, allocations: 46.88 MB / 359.9 MB, free: 5.016 MB / 286.1 MB [Timeout remaining time 89] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 83.86 kB / 0.4949 GB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3539, allocations: 65.98 MB / 0.5594 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003363/0.3573, allocations: 1.925 MB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3583, allocations: 0.562 MB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.3584, allocations: 4 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.3585, allocations: 19.73 kB / 0.5618 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.3586, allocations: 39.64 kB / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3589, allocations: 59.8 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3591, allocations: 147.3 kB / 0.5621 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3592, allocations: 53.64 kB / 0.5621 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3594, allocations: 67.77 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3595, allocations: 63.7 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.3595, allocations: 12 kB / 0.5623 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.3596, allocations: 12 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.3596, allocations: 31.84 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.3597, allocations: 71.67 kB / 0.5624 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3599, allocations: 149.8 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.36, allocations: 7.984 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.36, allocations: 0 / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.36, allocations: 0 / 0.5625 GB, free: 1.992 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.0006138/0.3606, allocations: 446.8 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3606, allocations: 8.031 kB / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3608, allocations: 24.83 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3611, allocations: 208.1 kB / 0.5632 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3611, allocations: 8.375 kB / 0.5632 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.3611, allocations: 16.33 kB / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.3614, allocations: 137.7 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3614, allocations: 0 / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3614, allocations: 4 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3614, allocations: 4 kB / 0.5633 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.3616, allocations: 83.94 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.3624, allocations: 464.4 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3626, allocations: 122.4 kB / 0.564 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3627, allocations: 56.83 kB / 0.564 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3627, allocations: 0 / 0.564 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3628, allocations: 38.5 kB / 0.5641 GB, free: 248 kB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.3628, allocations: 0 / 0.5641 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001546/0.3643, allocations: 0.8117 MB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3644, allocations: 55.41 kB / 0.5649 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3645, allocations: 137.6 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3645, allocations: 33.7 kB / 0.5651 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.3646, allocations: 120.3 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.3646, allocations: 71.38 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.3647, allocations: 37.7 kB / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3649, allocations: 326.8 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.365, allocations: 35.98 kB / 0.5656 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3651, allocations: 86.34 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.3653, allocations: 131.3 kB / 0.5658 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3653, allocations: 0 / 0.5658 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003978/0.3657, allocations: 210.2 kB / 0.566 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3657, allocations: 10.44 kB / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3657, allocations: 8.016 kB / 0.5661 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.3659, allocations: 44.91 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3661, allocations: 39.91 kB / 0.5661 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.3678, allocations: 1.734 MB / 0.5678 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.3679, allocations: 4 kB / 0.5678 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3679, allocations: 8 kB / 0.5678 GB, free: 12.05 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.000135/0.368, allocations: 133.8 kB / 0.568 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.368, allocations: 15.91 kB / 0.568 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.3681, allocations: 13.19 kB / 0.568 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3681, allocations: 7.938 kB / 0.568 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3681, allocations: 0 / 0.568 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3681, allocations: 0 / 0.568 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.3689, allocations: 0.5547 MB / 0.5686 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3689, allocations: 0 / 0.5686 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3691, allocations: 36.16 kB / 0.5686 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.3692, allocations: 32.84 kB / 0.5686 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3692, allocations: 4 kB / 0.5686 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3705, allocations: 1.474 MB / 0.5701 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3705, allocations: 0 / 0.5701 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.371, allocations: 350.6 kB / 0.5704 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.3711, allocations: 93.19 kB / 0.5705 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3711, allocations: 3.984 kB / 0.5705 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3712, allocations: 11.98 kB / 0.5705 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3713, allocations: 15.92 kB / 0.5705 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3713, allocations: 8.062 kB / 0.5705 GB, free: 9.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3714, allocations: 110.7 kB / 0.5706 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3714, allocations: 3.938 kB / 0.5706 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.3717, allocations: 36 kB / 0.5707 GB, free: 8.914 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.0001284/0.3719, allocations: 107.2 kB / 0.5708 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.3724, allocations: 262.8 kB / 0.571 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3724, allocations: 3.938 kB / 0.571 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.3727, allocations: 186.6 kB / 0.5712 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.373, allocations: 16 kB / 0.5712 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.3739, allocations: 478.5 kB / 0.5717 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.3743, allocations: 0.7205 MB / 0.5724 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.3744, allocations: 15.44 kB / 0.5724 GB, free: 7.047 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3744, allocations: 0 / 0.5724 GB, free: 7.047 MB / 414.1 MB Notification: Performance of Templates: time 0.005333/0.3797, allocations: 2.462 MB / 0.5748 GB, free: 4.594 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches