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.00145/0.00145, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3635, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004273/0.3678, allocations: 2.869 MB / 0.5344 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3695, allocations: 0.8027 MB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.3698, allocations: 12.19 kB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3701, allocations: 58.27 kB / 0.5353 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.3704, allocations: 123.2 kB / 0.5354 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.3708, allocations: 120.3 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.3712, allocations: 451.3 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.3715, allocations: 182.6 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3718, allocations: 187.1 kB / 0.5363 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3721, allocations: 187.4 kB / 0.5365 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.3721, allocations: 38.98 kB / 0.5365 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3722, allocations: 37.72 kB / 0.5366 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.3723, allocations: 78.83 kB / 0.5366 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3725, allocations: 213.3 kB / 0.5368 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.373, allocations: 464.7 kB / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.373, allocations: 0 / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.373, allocations: 0 / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.373, allocations: 1.344 kB / 0.5373 GB, free: 9.281 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.001031/0.3741, allocations: 0.6751 MB / 0.5379 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3741, allocations: 8.875 kB / 0.5379 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.3745, allocations: 67.34 kB / 0.538 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.3749, allocations: 312.2 kB / 0.5383 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.3749, allocations: 28.5 kB / 0.5383 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.375, allocations: 41.28 kB / 0.5384 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.3757, allocations: 385.1 kB / 0.5387 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.3757, allocations: 6.156 kB / 0.5387 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.3757, allocations: 19.44 kB / 0.5388 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3758, allocations: 12.61 kB / 0.5388 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.3763, allocations: 248.8 kB / 0.539 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3778, allocations: 1.092 MB / 0.5401 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.3784, allocations: 347.7 kB / 0.5404 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.3787, allocations: 181 kB / 0.5406 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3787, allocations: 8.672 kB / 0.5406 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3788, allocations: 40.66 kB / 0.5406 GB, free: 6.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.3788, allocations: 0.9375 kB / 0.5406 GB, free: 6.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003876/0.3827, allocations: 2.448 MB / 0.543 GB, free: 4.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.3827, allocations: 109.8 kB / 0.5431 GB, free: 4.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.383, allocations: 245.2 kB / 0.5434 GB, free: 4.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3831, allocations: 36.27 kB / 0.5434 GB, free: 4.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3832, allocations: 184.9 kB / 0.5436 GB, free: 4.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3833, allocations: 199 kB / 0.5438 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3835, allocations: 83.06 kB / 0.5438 GB, free: 3.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3836, allocations: 355.6 kB / 0.5442 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.3839, allocations: 138.1 kB / 0.5443 GB, free: 3.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.3842, allocations: 227.5 kB / 0.5445 GB, free: 3.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.3849, allocations: 397.1 kB / 0.5449 GB, free: 3.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3849, allocations: 5.031 kB / 0.5449 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001089/0.386, allocations: 0.5603 MB / 0.5455 GB, free: 2.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.386, allocations: 6.25 kB / 0.5455 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.386, allocations: 3 kB / 0.5455 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.3864, allocations: 116.8 kB / 0.5456 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.3868, allocations: 101 kB / 0.5457 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004227/0.391, allocations: 5.21 MB / 0.5508 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.3914, allocations: 19.98 kB / 0.5508 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.3914, allocations: 16 kB / 0.5508 GB, free: 13.09 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.0002256/0.3917, allocations: 169.3 kB / 0.551 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3918, allocations: 43.53 kB / 0.551 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.3919, allocations: 50.23 kB / 0.5511 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3919, allocations: 4 kB / 0.5511 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.3919, allocations: 7.938 kB / 0.5511 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3919, allocations: 3.984 kB / 0.5511 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.394, allocations: 1.337 MB / 0.5524 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3941, allocations: 0 / 0.5524 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.3945, allocations: 95.89 kB / 0.5525 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.3948, allocations: 90.61 kB / 0.5526 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.3948, allocations: 19.92 kB / 0.5526 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.3982, allocations: 4.431 MB / 0.5569 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3982, allocations: 0 / 0.5569 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3995, allocations: 0.9348 MB / 0.5578 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3996, allocations: 108.7 kB / 0.5579 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.3997, allocations: 16 kB / 0.5579 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4, allocations: 15.98 kB / 0.5579 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4001, allocations: 51.81 kB / 0.558 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4001, allocations: 16.12 kB / 0.558 GB, free: 5.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.4003, allocations: 182 kB / 0.5582 GB, free: 4.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4003, allocations: 0 / 0.5582 GB, free: 4.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007066/0.401, allocations: 116 kB / 0.5583 GB, free: 4.855 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.0001422/0.4011, allocations: 115.2 kB / 0.5584 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.4024, allocations: 0.7731 MB / 0.5592 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4024, allocations: 0 / 0.5592 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.4032, allocations: 0.5678 MB / 0.5597 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.4039, allocations: 64.7 kB / 0.5598 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4058, allocations: 1.116 MB / 0.5609 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.4062, allocations: 0.8241 MB / 0.5617 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.4063, allocations: 35.42 kB / 0.5617 GB, free: 1.207 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4063, allocations: 0 / 0.5617 GB, free: 1.207 MB / 414.1 MB Notification: Performance of Templates: time 0.0122/0.4185, allocations: 9.457 MB / 0.5709 GB, free: 7.746 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches