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.001566/0.001566, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002565/0.002565, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4271, allocations: 62.44 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004248/0.4314, allocations: 2.859 MB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.433, allocations: 0.7916 MB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.4332, allocations: 11.47 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.4335, allocations: 67.03 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.4338, allocations: 123.4 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.4342, allocations: 123.6 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.4347, allocations: 455.9 kB / 0.5353 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.4351, allocations: 186 kB / 0.5355 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.4355, allocations: 179.6 kB / 0.5356 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.4359, allocations: 191.8 kB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.436, allocations: 35.28 kB / 0.5359 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4361, allocations: 37.62 kB / 0.5359 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.4362, allocations: 85.72 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.4364, allocations: 205.9 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.4371, allocations: 468.5 kB / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4371, allocations: 1 kB / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4371, allocations: 0 / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4372, allocations: 0 / 0.5366 GB, free: 9.469 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.001443/0.4386, allocations: 0.6682 MB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/0.4387, allocations: 13.06 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.4392, allocations: 70.38 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.4398, allocations: 309 kB / 0.5376 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.4398, allocations: 28.44 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.44, allocations: 37.5 kB / 0.5377 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.4407, allocations: 384.7 kB / 0.5381 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.4407, allocations: 14.31 kB / 0.5381 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.4408, allocations: 15.47 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4408, allocations: 9.906 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.4413, allocations: 244 kB / 0.5383 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.4429, allocations: 1.095 MB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.4435, allocations: 355.9 kB / 0.5398 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.4439, allocations: 176.8 kB / 0.5399 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.4439, allocations: 8.75 kB / 0.5399 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.444, allocations: 42.03 kB / 0.54 GB, free: 6.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.315e-06/0.444, allocations: 0 / 0.54 GB, free: 6.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.004182/0.4482, allocations: 2.435 MB / 0.5424 GB, free: 4.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.4482, allocations: 116.9 kB / 0.5425 GB, free: 4.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.4485, allocations: 245.6 kB / 0.5427 GB, free: 4.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.4486, allocations: 36.05 kB / 0.5427 GB, free: 4.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4487, allocations: 189 kB / 0.5429 GB, free: 4.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.4489, allocations: 200.1 kB / 0.5431 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.449, allocations: 86.47 kB / 0.5432 GB, free: 4.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4492, allocations: 351.8 kB / 0.5435 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.4494, allocations: 126.6 kB / 0.5436 GB, free: 3.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.4498, allocations: 230.8 kB / 0.5439 GB, free: 3.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.4504, allocations: 404.5 kB / 0.5442 GB, free: 3.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4505, allocations: 1.75 kB / 0.5442 GB, free: 3.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001041/0.4515, allocations: 0.5602 MB / 0.5448 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.4515, allocations: 6.344 kB / 0.5448 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4516, allocations: 3.406 kB / 0.5448 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/0.452, allocations: 124.9 kB / 0.5449 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.4523, allocations: 93.98 kB / 0.545 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/0.4566, allocations: 5.219 MB / 0.5501 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.4569, allocations: 16 kB / 0.5501 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.4569, allocations: 20 kB / 0.5501 GB, free: 13.2 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.0002225/0.4571, allocations: 169.8 kB / 0.5503 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4572, allocations: 35.53 kB / 0.5503 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.4573, allocations: 50.17 kB / 0.5504 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.4573, allocations: 11.94 kB / 0.5504 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.4574, allocations: 7.875 kB / 0.5504 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.4574, allocations: 4 kB / 0.5504 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4593, allocations: 1.315 MB / 0.5517 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4593, allocations: 4 kB / 0.5517 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.4597, allocations: 103.8 kB / 0.5518 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.46, allocations: 94.45 kB / 0.5519 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.4601, allocations: 11.94 kB / 0.5519 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003118/0.4632, allocations: 4.442 MB / 0.5562 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4632, allocations: 4.031 kB / 0.5562 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4645, allocations: 0.9294 MB / 0.5571 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.4646, allocations: 112.6 kB / 0.5573 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.4646, allocations: 12.06 kB / 0.5573 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.4649, allocations: 15.98 kB / 0.5573 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.465, allocations: 39.89 kB / 0.5573 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.465, allocations: 23.98 kB / 0.5573 GB, free: 5.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.4652, allocations: 178 kB / 0.5575 GB, free: 5.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4652, allocations: 0 / 0.5575 GB, free: 5.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.4659, allocations: 120 kB / 0.5576 GB, free: 4.961 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.0001356/0.4661, allocations: 111.1 kB / 0.5577 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4673, allocations: 0.769 MB / 0.5585 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4673, allocations: 0 / 0.5585 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.468, allocations: 0.5808 MB / 0.5591 GB, free: 3.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.4687, allocations: 56.58 kB / 0.5591 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.4704, allocations: 1.09 MB / 0.5602 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4707, allocations: 0.8241 MB / 0.561 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.4709, allocations: 39.2 kB / 0.561 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.4709, allocations: 35.42 kB / 0.561 GB, free: 1.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.471, allocations: 3.938 kB / 0.561 GB, free: 1.312 MB / 414.1 MB Notification: Performance of Templates: time 0.009058/0.48, allocations: 4.688 MB / 0.5656 GB, free: 12.63 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