Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2506/0.2506, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.86 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4056, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004309/0.41, allocations: 2.863 MB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.4116, allocations: 0.8031 MB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.4119, allocations: 12.19 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.4121, allocations: 66.25 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.4124, allocations: 128.6 kB / 0.5348 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.4128, allocations: 116.3 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.4133, allocations: 453.1 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.4137, allocations: 186.3 kB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.414, allocations: 183.2 kB / 0.5357 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.4143, allocations: 183.5 kB / 0.5358 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.4143, allocations: 38.25 kB / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.4144, allocations: 37.56 kB / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.4145, allocations: 95.11 kB / 0.536 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.4147, allocations: 201.7 kB / 0.5362 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.4152, allocations: 464.6 kB / 0.5366 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4152, allocations: 0 / 0.5366 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4152, allocations: 0 / 0.5366 GB, free: 9.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4153, allocations: 0 / 0.5366 GB, free: 9.25 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009881/0.4162, allocations: 0.6762 MB / 0.5373 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4163, allocations: 9.062 kB / 0.5373 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/0.4167, allocations: 66.66 kB / 0.5374 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.4172, allocations: 307.9 kB / 0.5376 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4172, allocations: 33.25 kB / 0.5377 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.4173, allocations: 37.38 kB / 0.5377 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.4181, allocations: 385.1 kB / 0.5381 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.4181, allocations: 10.03 kB / 0.5381 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.4182, allocations: 15.38 kB / 0.5381 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.4182, allocations: 9.125 kB / 0.5381 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.4188, allocations: 253.2 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.4207, allocations: 1.091 MB / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/0.4215, allocations: 348.3 kB / 0.5398 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.4219, allocations: 182.6 kB / 0.5399 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.4219, allocations: 4.062 kB / 0.5399 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.422, allocations: 45.27 kB / 0.54 GB, free: 6.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.422, allocations: 0 / 0.54 GB, free: 6.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003878/0.4259, allocations: 2.442 MB / 0.5424 GB, free: 4.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4259, allocations: 113.4 kB / 0.5425 GB, free: 4.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.4262, allocations: 245.3 kB / 0.5427 GB, free: 4.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4262, allocations: 32.33 kB / 0.5427 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.4264, allocations: 192.5 kB / 0.5429 GB, free: 4.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.4266, allocations: 191.5 kB / 0.5431 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4267, allocations: 87.78 kB / 0.5432 GB, free: 3.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4269, allocations: 350 kB / 0.5435 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.4271, allocations: 131.5 kB / 0.5436 GB, free: 3.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.4275, allocations: 230.8 kB / 0.5439 GB, free: 3.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.4281, allocations: 401.2 kB / 0.5442 GB, free: 3.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4281, allocations: 5.344 kB / 0.5443 GB, free: 3.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009966/0.4291, allocations: 0.5519 MB / 0.5448 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4291, allocations: 6.594 kB / 0.5448 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4291, allocations: 7.406 kB / 0.5448 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.4295, allocations: 121.3 kB / 0.5449 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.4299, allocations: 96.45 kB / 0.545 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.4343, allocations: 5.217 MB / 0.5501 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.4345, allocations: 20.06 kB / 0.5501 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.4346, allocations: 23.94 kB / 0.5501 GB, free: 13.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.4348, allocations: 169.7 kB / 0.5503 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.4349, allocations: 35.53 kB / 0.5503 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.332e-05/0.435, allocations: 50.17 kB / 0.5504 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4351, allocations: 4 kB / 0.5504 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/0.4351, allocations: 7.938 kB / 0.5504 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4351, allocations: 4 kB / 0.5504 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.437, allocations: 1.319 MB / 0.5517 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.437, allocations: 4 kB / 0.5517 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.4374, allocations: 103.8 kB / 0.5518 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/0.4377, allocations: 94.61 kB / 0.5519 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.4377, allocations: 15.94 kB / 0.5519 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.4412, allocations: 4.438 MB / 0.5562 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4412, allocations: 4.031 kB / 0.5562 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.4425, allocations: 0.9254 MB / 0.5571 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.4426, allocations: 108.6 kB / 0.5572 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.4426, allocations: 16.06 kB / 0.5573 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4429, allocations: 15.98 kB / 0.5573 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.443, allocations: 47.83 kB / 0.5573 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.4431, allocations: 19.98 kB / 0.5573 GB, free: 5.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.4432, allocations: 178 kB / 0.5575 GB, free: 4.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4432, allocations: 0 / 0.5575 GB, free: 4.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007204/0.4439, allocations: 120 kB / 0.5576 GB, free: 4.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001366/0.4441, allocations: 112.3 kB / 0.5577 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.4454, allocations: 0.7653 MB / 0.5585 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4454, allocations: 4 kB / 0.5585 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000752/0.4462, allocations: 0.5726 MB / 0.559 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.4468, allocations: 68.08 kB / 0.5591 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.4486, allocations: 1.092 MB / 0.5602 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4491, allocations: 0.8241 MB / 0.561 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.4492, allocations: 35.27 kB / 0.561 GB, free: 1.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.4493, allocations: 35.44 kB / 0.5611 GB, free: 1.172 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4493, allocations: 0 / 0.5611 GB, free: 1.172 MB / 414.1 MB Notification: Performance of Templates: time 0.009034/0.4583, allocations: 4.552 MB / 0.5655 GB, free: 12.62 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches