Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.93 MB / 361.5 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 79.88 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2872, allocations: 66.08 MB / 0.5619 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002982/0.2902, allocations: 1.936 MB / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.2911, allocations: 0.5737 MB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.2912, allocations: 0 / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.2913, allocations: 27.72 kB / 0.5644 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.2914, allocations: 39.64 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.2916, allocations: 51.88 kB / 0.5645 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2918, allocations: 151.2 kB / 0.5646 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2919, allocations: 49.78 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2921, allocations: 67.83 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2922, allocations: 63.7 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2923, allocations: 12 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.2923, allocations: 16 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.2923, allocations: 35.78 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.2924, allocations: 71.66 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2926, allocations: 157.7 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2926, allocations: 0 / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2926, allocations: 0 / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2926, allocations: 0 / 0.5651 GB, free: 0.957 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.0005387/0.2932, allocations: 369.7 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2932, allocations: 8.031 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.2933, allocations: 24.83 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2936, allocations: 150.3 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2936, allocations: 8.375 kB / 0.5656 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.2936, allocations: 16.33 kB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.2939, allocations: 133.7 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2939, allocations: 4 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2939, allocations: 4 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2939, allocations: 4 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2941, allocations: 87.88 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.2948, allocations: 427.5 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.295, allocations: 118.4 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2951, allocations: 56.83 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2951, allocations: 0 / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2951, allocations: 30.56 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 8.91e-07/0.2951, allocations: 3.938 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001384/0.2965, allocations: 0.6693 MB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2966, allocations: 51.41 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2967, allocations: 141.6 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2967, allocations: 29.7 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.2968, allocations: 120.4 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.2969, allocations: 75.36 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.2969, allocations: 41.64 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.297, allocations: 318.8 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.2971, allocations: 39.98 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2973, allocations: 83.34 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2975, allocations: 135.3 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2975, allocations: 0 / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000379/0.2979, allocations: 202.3 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2979, allocations: 7.938 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2979, allocations: 3.938 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.298, allocations: 48.92 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2982, allocations: 39.91 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.2997, allocations: 1.625 MB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.2998, allocations: 8.031 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2998, allocations: 4 kB / 0.57 GB, free: 11.55 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.000122/0.2999, allocations: 127.2 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3, allocations: 15.95 kB / 0.5701 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.3, allocations: 21.11 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3, allocations: 7.938 kB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3, allocations: 0 / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3, allocations: 0 / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007557/0.3008, allocations: 0.5223 MB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3008, allocations: 0 / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3009, allocations: 40.09 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.301, allocations: 32.84 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3011, allocations: 4 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3022, allocations: 1.377 MB / 0.5721 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3022, allocations: 0 / 0.5721 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.3027, allocations: 351.6 kB / 0.5724 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.3027, allocations: 11.94 kB / 0.5725 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.3027, allocations: 8 kB / 0.5725 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.3028, allocations: 3.984 kB / 0.5725 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3029, allocations: 23.91 kB / 0.5725 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3029, allocations: 0 / 0.5725 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.738e-05/0.303, allocations: 111.3 kB / 0.5726 GB, free: 8.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.303, allocations: 0 / 0.5726 GB, free: 8.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.3033, allocations: 43.94 kB / 0.5726 GB, free: 8.66 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.000116/0.3034, allocations: 99.19 kB / 0.5727 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.3039, allocations: 253.4 kB / 0.573 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3039, allocations: 4.062 kB / 0.573 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.3041, allocations: 188.9 kB / 0.5732 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3045, allocations: 23.92 kB / 0.5732 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.3053, allocations: 491.2 kB / 0.5736 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3056, allocations: 0.7205 MB / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.3056, allocations: 15.44 kB / 0.5744 GB, free: 6.793 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3056, allocations: 0 / 0.5744 GB, free: 6.793 MB / 414.1 MB Notification: Performance of Templates: time 0.004777/0.3104, allocations: 2.47 MB / 0.5768 GB, free: 4.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.163022589869797]