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.00136/0.00136, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 201.2 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2713/0.2713, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001666, allocations: 79.86 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3971, 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.004565/0.4017, allocations: 2.865 MB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4035, allocations: 0.7989 MB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.4037, allocations: 6.875 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.4039, allocations: 70.12 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.4042, allocations: 124.6 kB / 0.5347 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.4045, allocations: 115 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.405, allocations: 452.8 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.4053, allocations: 190.2 kB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.4056, allocations: 177.3 kB / 0.5356 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.4058, allocations: 191.5 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.4059, allocations: 39.44 kB / 0.5359 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.406, allocations: 38 kB / 0.5359 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.4061, allocations: 78.05 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.4064, allocations: 217.6 kB / 0.5362 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.407, allocations: 455 kB / 0.5366 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.407, allocations: 0 / 0.5366 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.407, allocations: 0 / 0.5366 GB, free: 9.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4071, allocations: 1.5 kB / 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.001109/0.4082, allocations: 0.6859 MB / 0.5373 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4082, allocations: 9.094 kB / 0.5373 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.4086, allocations: 71.47 kB / 0.5374 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.4091, allocations: 307.6 kB / 0.5377 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.4092, allocations: 33.19 kB / 0.5377 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.4092, allocations: 41.39 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.41, allocations: 381 kB / 0.5381 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.41, allocations: 9.75 kB / 0.5381 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.4101, allocations: 15.91 kB / 0.5381 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.4101, allocations: 9.406 kB / 0.5381 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.4107, allocations: 252.4 kB / 0.5384 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4124, allocations: 1.107 MB / 0.5394 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/0.4132, allocations: 345 kB / 0.5398 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.4136, allocations: 182.2 kB / 0.5399 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4136, allocations: 4.188 kB / 0.54 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4137, allocations: 37.59 kB / 0.54 GB, free: 6.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.362e-06/0.4137, allocations: 0 / 0.54 GB, free: 6.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.004129/0.4178, allocations: 2.459 MB / 0.5424 GB, free: 4.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.4179, allocations: 112.6 kB / 0.5425 GB, free: 4.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.4183, allocations: 249.6 kB / 0.5427 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.4183, allocations: 31.92 kB / 0.5428 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4184, allocations: 188.9 kB / 0.5429 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.4187, allocations: 209.2 kB / 0.5431 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4188, allocations: 86.56 kB / 0.5432 GB, free: 3.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.419, allocations: 351 kB / 0.5436 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.4192, allocations: 130.7 kB / 0.5437 GB, free: 3.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4195, allocations: 227.5 kB / 0.5439 GB, free: 3.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.4202, allocations: 405.4 kB / 0.5443 GB, free: 3.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4202, allocations: 0 / 0.5443 GB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009962/0.4212, allocations: 0.5575 MB / 0.5448 GB, free: 2.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4212, allocations: 8.344 kB / 0.5448 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4212, allocations: 3.5 kB / 0.5448 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.4216, allocations: 125.2 kB / 0.545 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.4219, allocations: 103.1 kB / 0.5451 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.426, allocations: 5.211 MB / 0.5502 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.4263, allocations: 23.98 kB / 0.5502 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.4264, allocations: 20.06 kB / 0.5502 GB, free: 12.97 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.0002052/0.4266, allocations: 165.7 kB / 0.5504 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.4267, allocations: 39.77 kB / 0.5504 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.4268, allocations: 50.11 kB / 0.5504 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4268, allocations: 4 kB / 0.5504 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.4268, allocations: 7.938 kB / 0.5504 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4268, allocations: 7.984 kB / 0.5505 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.4287, allocations: 1.327 MB / 0.5518 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4287, allocations: 4 kB / 0.5518 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.4291, allocations: 99.83 kB / 0.5519 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.4294, allocations: 94.59 kB / 0.5519 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.4295, allocations: 19.92 kB / 0.552 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.433, allocations: 4.435 MB / 0.5563 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.433, allocations: 0 / 0.5563 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.4346, allocations: 0.9311 MB / 0.5572 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.4347, allocations: 108.9 kB / 0.5573 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.4348, allocations: 12 kB / 0.5573 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.4351, allocations: 15.98 kB / 0.5573 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4352, allocations: 55.81 kB / 0.5574 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.4353, allocations: 16 kB / 0.5574 GB, free: 5.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.4355, allocations: 178 kB / 0.5576 GB, free: 4.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4355, allocations: 0 / 0.5576 GB, free: 4.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008378/0.4363, allocations: 120 kB / 0.5577 GB, free: 4.73 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.0001722/0.4365, allocations: 115.2 kB / 0.5578 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4378, allocations: 0.7614 MB / 0.5585 GB, free: 3.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4378, allocations: 4.188 kB / 0.5585 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008569/0.4387, allocations: 0.5805 MB / 0.5591 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.4393, allocations: 66.09 kB / 0.5592 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.441, allocations: 1.097 MB / 0.5602 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4414, allocations: 0.8202 MB / 0.561 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.4416, allocations: 39.2 kB / 0.5611 GB, free: 1.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.4417, allocations: 39.42 kB / 0.5611 GB, free: 1.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4417, allocations: 0 / 0.5611 GB, free: 1.066 MB / 414.1 MB Notification: Performance of Templates: time 0.008606/0.4503, allocations: 4.553 MB / 0.5656 GB, free: 12.52 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