Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 79.86 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3811, allocations: 62.44 MB / 0.531 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00359/0.3848, allocations: 1.673 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.3852, allocations: 110.9 kB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.3852, allocations: 5.469 kB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.434e-05/0.3853, allocations: 18.64 kB / 0.5328 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.3855, allocations: 34.7 kB / 0.5328 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.3856, allocations: 24 kB / 0.5329 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3858, allocations: 129.3 kB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.386, allocations: 37.61 kB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.3861, allocations: 45.3 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.3862, allocations: 55.88 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.3862, allocations: 12.95 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.867e-05/0.3863, allocations: 8.969 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.3863, allocations: 20.05 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.3864, allocations: 56.36 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3866, allocations: 130.5 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3866, allocations: 1.375 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3866, allocations: 0 / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3867, allocations: 0 / 0.5333 GB, free: 11.78 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006045/0.3873, allocations: 404.4 kB / 0.5337 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.3873, allocations: 9.625 kB / 0.5337 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3874, allocations: 10.39 kB / 0.5337 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3877, allocations: 201.8 kB / 0.5339 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3877, allocations: 8.734 kB / 0.5339 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.3878, allocations: 16.62 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3881, allocations: 130.7 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3881, allocations: 5.516 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3881, allocations: 9.312 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3881, allocations: 2.75 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3883, allocations: 59.58 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.3892, allocations: 0.5422 MB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3893, allocations: 84.84 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.3894, allocations: 27.28 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3894, allocations: 7.922 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3895, allocations: 44.02 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3895, allocations: 5.312 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006333/0.3901, allocations: 294.4 kB / 0.5351 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3902, allocations: 78.3 kB / 0.5352 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3903, allocations: 128.6 kB / 0.5353 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3903, allocations: 30.86 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.3904, allocations: 117.6 kB / 0.5355 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.3904, allocations: 32.17 kB / 0.5355 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.3905, allocations: 29.94 kB / 0.5355 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3906, allocations: 325.6 kB / 0.5358 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.3907, allocations: 23.83 kB / 0.5359 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.3908, allocations: 87.23 kB / 0.5359 GB, free: 9.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3909, allocations: 121.1 kB / 0.5361 GB, free: 9.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3909, allocations: 1 kB / 0.5361 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000309/0.3913, allocations: 169.1 kB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3913, allocations: 8.781 kB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3913, allocations: 2.312 kB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.3915, allocations: 42.39 kB / 0.5363 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.3916, allocations: 25.27 kB / 0.5363 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.3937, allocations: 2.743 MB / 0.539 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.3937, allocations: 12.08 kB / 0.539 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3938, allocations: 9.781 kB / 0.539 GB, free: 6.012 MB / 398.1 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.0001153/0.3939, allocations: 124.2 kB / 0.5391 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.3939, allocations: 3.844 kB / 0.5391 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.394, allocations: 14.22 kB / 0.5391 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.394, allocations: 1.031 kB / 0.5391 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.394, allocations: 1.375 kB / 0.5391 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.394, allocations: 1.25 kB / 0.5391 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3943, allocations: 206.7 kB / 0.5393 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3943, allocations: 1.469 kB / 0.5393 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.3944, allocations: 19.64 kB / 0.5393 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.3945, allocations: 32.11 kB / 0.5394 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3945, allocations: 9.094 kB / 0.5394 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.3965, allocations: 2.737 MB / 0.5421 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3966, allocations: 5.094 kB / 0.5421 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.3968, allocations: 311.2 kB / 0.5424 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3969, allocations: 79.27 kB / 0.5424 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3969, allocations: 6.219 kB / 0.5424 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.397, allocations: 0 / 0.5424 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.397, allocations: 8.406 kB / 0.5425 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.397, allocations: 2.156 kB / 0.5425 GB, free: 2.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.365e-05/0.3971, allocations: 97.02 kB / 0.5425 GB, free: 2.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3971, allocations: 0 / 0.5425 GB, free: 2.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.3975, allocations: 39.83 kB / 0.5426 GB, free: 2.25 MB / 398.1 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.0001117/0.3976, allocations: 100.5 kB / 0.5427 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.3981, allocations: 307 kB / 0.543 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3981, allocations: 0 / 0.543 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.3983, allocations: 262.5 kB / 0.5432 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.3989, allocations: 37.11 kB / 0.5433 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.3997, allocations: 475.4 kB / 0.5437 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.4, allocations: 0.7034 MB / 0.5444 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.4001, allocations: 17.14 kB / 0.5444 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.4001, allocations: 10.66 kB / 0.5444 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4001, allocations: 1.031 kB / 0.5444 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Templates: time 0.004105/0.4042, allocations: 1.511 MB / 0.5459 GB, free: 15.75 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches