Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.002534/0.002534, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002867/0.002867, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.624/1.624, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3475/0.3475, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.695e-05/3.879e-05, allocations: 9.484 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003085/0.003124, allocations: 1.671 MB / 376.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003025/0.003427, allocations: 107.5 kB / 377 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.003484, allocations: 4 kB / 377 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.714e-05/0.003541, allocations: 15.86 kB / 377 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.003664, allocations: 39.64 kB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.003776, allocations: 27.95 kB / 377.1 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.003953, allocations: 131.3 kB / 377.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.00407, allocations: 25.17 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.004211, allocations: 79.8 kB / 377.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.004297, allocations: 35.89 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.004322, allocations: 8 kB / 377.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.004352, allocations: 16 kB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.004384, allocations: 23.91 kB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.004448, allocations: 39.91 kB / 377.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.004663, allocations: 123.6 kB / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.004667, allocations: 0 / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004668, allocations: 0 / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004672, allocations: 0 / 377.6 MB, free: 2.645 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006023/0.005275, allocations: 440.1 kB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.005314, allocations: 12.02 kB / 378 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.005374, allocations: 20.84 kB / 378 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.005582, allocations: 148.4 kB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.005598, allocations: 8.609 kB / 378.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.00563, allocations: 12.38 kB / 378.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.005885, allocations: 139.2 kB / 378.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.0059, allocations: 192 / 378.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.005917, allocations: 12.36 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005924, allocations: 8.312 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.006045, allocations: 55.91 kB / 378.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.006965, allocations: 0.5569 MB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.00717, allocations: 106.1 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.007247, allocations: 35.45 kB / 379.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.007266, allocations: 7.938 kB / 379.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.007309, allocations: 41.33 kB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.00731, allocations: 0 / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006444/0.007954, allocations: 152.8 kB / 379.3 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.008036, allocations: 77.11 kB / 379.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.008244, allocations: 189.9 kB / 379.6 MB, free: 448 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.008268, allocations: 33.7 kB / 379.6 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.008395, allocations: 166.5 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.008439, allocations: 39.69 kB / 379.8 MB, free: 196 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.008505, allocations: 39.38 kB / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.008798, allocations: 0.4923 MB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.00885, allocations: 23.98 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.008989, allocations: 120.8 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.009207, allocations: 161.1 kB / 380.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.009213, allocations: 4 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003241/0.009537, allocations: 176.7 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.009553, allocations: 8.25 kB / 380.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.009562, allocations: 8 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.00978, allocations: 39.36 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.009878, allocations: 27.92 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.01288, allocations: 3.534 MB / 384.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.01294, allocations: 11.98 kB / 384.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01296, allocations: 8 kB / 384.5 MB, free: 11.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.01312, allocations: 180.4 kB / 384.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.01316, allocations: 8.078 kB / 384.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.01319, allocations: 12 kB / 384.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01319, allocations: 8 kB / 384.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.0132, allocations: 0 / 384.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.0132, allocations: 0 / 384.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.01346, allocations: 168.5 kB / 384.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01346, allocations: 0 / 384.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.01355, allocations: 15.98 kB / 384.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.01367, allocations: 39.36 kB / 384.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01368, allocations: 15.94 kB / 384.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.01644, allocations: 3.511 MB / 388.4 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01644, allocations: 256 / 388.4 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.01701, allocations: 418.3 kB / 388.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.01703, allocations: 11.88 kB / 388.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.01704, allocations: 4 kB / 388.8 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.01713, allocations: 4 kB / 388.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.01717, allocations: 7.984 kB / 388.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01718, allocations: 11.94 kB / 388.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.771e-05/0.01728, allocations: 139.2 kB / 389 MB, free: 6.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01728, allocations: 0 / 389 MB, free: 6.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.01762, allocations: 35.95 kB / 389 MB, free: 6.277 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.01775, allocations: 99.19 kB / 389.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.01835, allocations: 423.3 kB / 389.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01836, allocations: 0 / 389.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.01872, allocations: 379.8 kB / 389.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.01918, allocations: 36.03 kB / 389.9 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.01992, allocations: 386.6 kB / 390.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.02003, allocations: 89.81 kB / 390.4 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.918e-05/0.02007, allocations: 12.95 kB / 390.4 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.0201, allocations: 12.5 kB / 390.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0201, allocations: 4 kB / 390.4 MB, free: 4.719 MB / 362.7 MB Notification: Performance of Templates: time 0.005581/0.02568, allocations: 1.697 MB / 392.1 MB, free: 3.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.999644667026587]