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.001231/0.001231, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.001241, 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.258/1.258, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3066, 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.004319/0.3109, allocations: 2.86 MB / 0.5344 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3127, allocations: 0.8027 MB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.3131, allocations: 8.25 kB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.3134, allocations: 66.19 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.3139, allocations: 128.6 kB / 0.5354 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.3144, allocations: 116.3 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.315, allocations: 456.6 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.3154, allocations: 182 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.3159, allocations: 187.4 kB / 0.5363 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.3163, allocations: 187.4 kB / 0.5365 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.3164, allocations: 34.91 kB / 0.5365 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.3165, allocations: 37.75 kB / 0.5366 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.3166, allocations: 86.52 kB / 0.5366 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.3169, allocations: 210 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.3175, allocations: 464.8 kB / 0.5373 GB, free: 9.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3175, allocations: 3.984 kB / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3175, allocations: 0 / 0.5373 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.3176, allocations: 0 / 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.001249/0.3188, allocations: 0.6675 MB / 0.5379 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3189, allocations: 13.94 kB / 0.538 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.3193, allocations: 70.33 kB / 0.538 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.3198, allocations: 308 kB / 0.5383 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.3199, allocations: 29.78 kB / 0.5383 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.3199, allocations: 41.19 kB / 0.5384 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.3207, allocations: 385.2 kB / 0.5387 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3207, allocations: 5 kB / 0.5388 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.3207, allocations: 16.69 kB / 0.5388 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3208, allocations: 12.5 kB / 0.5388 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005268/0.3213, allocations: 252.7 kB / 0.539 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.323, allocations: 1.099 MB / 0.5401 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.3236, allocations: 344.9 kB / 0.5404 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3239, allocations: 181.4 kB / 0.5406 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.3239, allocations: 7.5 kB / 0.5406 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.324, allocations: 37.56 kB / 0.5406 GB, free: 6.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.794e-06/0.324, allocations: 0 / 0.5406 GB, free: 6.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003925/0.3279, allocations: 2.448 MB / 0.543 GB, free: 4.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.328, allocations: 110.1 kB / 0.5431 GB, free: 4.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.3283, allocations: 245.1 kB / 0.5434 GB, free: 4.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3283, allocations: 36.11 kB / 0.5434 GB, free: 4.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3284, allocations: 185 kB / 0.5436 GB, free: 4.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.3286, allocations: 199 kB / 0.5438 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3287, allocations: 83.66 kB / 0.5438 GB, free: 3.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3289, allocations: 354.8 kB / 0.5442 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.3292, allocations: 127.3 kB / 0.5443 GB, free: 3.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.3295, allocations: 234 kB / 0.5445 GB, free: 3.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.3301, allocations: 401.2 kB / 0.5449 GB, free: 3.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3301, allocations: 1.062 kB / 0.5449 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001013/0.3312, allocations: 0.5606 MB / 0.5455 GB, free: 2.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3312, allocations: 6.344 kB / 0.5455 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3312, allocations: 3.125 kB / 0.5455 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.3316, allocations: 120.7 kB / 0.5456 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.332, allocations: 96.86 kB / 0.5457 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/0.3366, allocations: 5.215 MB / 0.5508 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3369, allocations: 16.03 kB / 0.5508 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.337, allocations: 20 kB / 0.5508 GB, free: 13.1 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.0002207/0.3372, allocations: 172.9 kB / 0.551 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.3373, allocations: 39.53 kB / 0.551 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.648e-05/0.3374, allocations: 46.17 kB / 0.5511 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3374, allocations: 12.06 kB / 0.5511 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.3374, allocations: 7.938 kB / 0.5511 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3374, allocations: 0 / 0.5511 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.3394, allocations: 1.321 MB / 0.5524 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/0.3394, allocations: 4 kB / 0.5524 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.3398, allocations: 91.88 kB / 0.5525 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.3401, allocations: 102.5 kB / 0.5526 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.3401, allocations: 16.12 kB / 0.5526 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.3435, allocations: 4.442 MB / 0.5569 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3435, allocations: 0 / 0.5569 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3448, allocations: 0.9194 MB / 0.5578 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3449, allocations: 116.7 kB / 0.5579 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.345, allocations: 16 kB / 0.5579 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3452, allocations: 16 kB / 0.5579 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.3453, allocations: 51.81 kB / 0.558 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3453, allocations: 19.94 kB / 0.558 GB, free: 5.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3455, allocations: 178 kB / 0.5582 GB, free: 4.977 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3455, allocations: 0 / 0.5582 GB, free: 4.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006852/0.3462, allocations: 120 kB / 0.5583 GB, free: 4.859 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.000141/0.3463, allocations: 107.2 kB / 0.5584 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3476, allocations: 0.7731 MB / 0.5592 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3476, allocations: 0 / 0.5592 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.3483, allocations: 0.5761 MB / 0.5597 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.349, allocations: 57.14 kB / 0.5598 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3508, allocations: 1.123 MB / 0.5609 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3512, allocations: 0.8202 MB / 0.5617 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.3513, allocations: 31.38 kB / 0.5617 GB, free: 1.223 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3513, allocations: 4 kB / 0.5617 GB, free: 1.219 MB / 414.1 MB Notification: Performance of Templates: time 0.01175/0.3631, allocations: 9.459 MB / 0.5709 GB, free: 7.75 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