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.00131/0.00131, 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.001453/0.001453, allocations: 209.5 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.423/1.423, allocations: 230.6 MB / 258.2 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.2317/0.2317, allocations: 46.96 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.001862/0.001862, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3636, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003145/0.3667, allocations: 1.868 MB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3678, allocations: 0.527 MB / 0.5641 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.3678, allocations: 7.938 kB / 0.5641 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.368, allocations: 23.8 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3681, allocations: 43.62 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3683, allocations: 47.89 kB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3685, allocations: 151.2 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3687, allocations: 49.83 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3688, allocations: 63.78 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.369, allocations: 67.69 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.369, allocations: 12 kB / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.369, allocations: 12 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.3691, allocations: 31.86 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.3691, allocations: 59.73 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3694, allocations: 161.7 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3694, allocations: 7.938 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3694, allocations: 0 / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3694, allocations: 0 / 0.5648 GB, free: 1.012 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.00061/0.37, allocations: 357.7 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.37, allocations: 8.031 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3702, allocations: 24.83 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3704, allocations: 158.3 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3705, allocations: 8.375 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.3705, allocations: 20.27 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.3708, allocations: 130.3 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3708, allocations: 0 / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.3708, allocations: 4 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3708, allocations: 4 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.371, allocations: 87.92 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.3717, allocations: 372.1 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.3719, allocations: 110.5 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.372, allocations: 52.84 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3721, allocations: 7.875 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3721, allocations: 30.56 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.123e-06/0.3721, allocations: 0 / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001467/0.3735, allocations: 0.6661 MB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3736, allocations: 55.41 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3737, allocations: 121.8 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3737, allocations: 33.7 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.3738, allocations: 116.4 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.3739, allocations: 67.39 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.3739, allocations: 37.7 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3741, allocations: 326.8 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3742, allocations: 47.92 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3743, allocations: 74.41 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.3745, allocations: 147.2 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3745, allocations: 0 / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003869/0.3749, allocations: 190.3 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3749, allocations: 11.98 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3749, allocations: 4.031 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.3751, allocations: 44.84 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3753, allocations: 39.97 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3769, allocations: 1.598 MB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.377, allocations: 7.922 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.377, allocations: 20 kB / 0.5697 GB, free: 11.73 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.0001249/0.3771, allocations: 125.7 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3771, allocations: 11.95 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.3772, allocations: 16.78 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3772, allocations: 4 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3772, allocations: 0 / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.3772, allocations: 7.922 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.3779, allocations: 486.1 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3779, allocations: 192 / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3781, allocations: 39.97 kB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.3782, allocations: 32.78 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3782, allocations: 8 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.3795, allocations: 1.35 MB / 0.5717 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3795, allocations: 4.094 kB / 0.5717 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.38, allocations: 341 kB / 0.572 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.38, allocations: 11.94 kB / 0.572 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.38, allocations: 8 kB / 0.572 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.3801, allocations: 0 / 0.572 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.3802, allocations: 19.97 kB / 0.572 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3802, allocations: 4 kB / 0.572 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.106e-05/0.3803, allocations: 102.1 kB / 0.5721 GB, free: 9.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3803, allocations: 0 / 0.5721 GB, free: 9.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.3806, allocations: 40.06 kB / 0.5722 GB, free: 8.969 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.0001241/0.3807, allocations: 99.23 kB / 0.5723 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.3813, allocations: 250.8 kB / 0.5725 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3813, allocations: 3.938 kB / 0.5725 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.3816, allocations: 190.7 kB / 0.5727 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.382, allocations: 19.94 kB / 0.5727 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.383, allocations: 453.5 kB / 0.5731 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3831, allocations: 107.7 kB / 0.5733 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.3832, allocations: 9.422 kB / 0.5733 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.3832, allocations: 19.38 kB / 0.5733 GB, free: 7.758 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3832, allocations: 0 / 0.5733 GB, free: 7.758 MB / 414.1 MB Notification: Performance of Templates: time 0.005621/0.3889, allocations: 1.784 MB / 0.575 GB, free: 5.992 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 cvode -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: 4.982463973996346]