Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003384/0.4043, allocations: 1.665 MB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.4046, allocations: 110.8 kB / 0.5327 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.4047, allocations: 6.531 kB / 0.5327 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.325e-05/0.4048, allocations: 23.67 kB / 0.5327 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.4049, allocations: 33.95 kB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.4051, allocations: 22.72 kB / 0.5328 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.4053, allocations: 128.9 kB / 0.5329 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.4055, allocations: 42.97 kB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.4056, allocations: 44.48 kB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.865e-05/0.4057, allocations: 48.28 kB / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.4057, allocations: 9.625 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.4058, allocations: 9.625 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.4058, allocations: 24.03 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.4059, allocations: 56.38 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.4061, allocations: 121.8 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4061, allocations: 3.938 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4061, allocations: 4 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4061, allocations: 1.375 kB / 0.5333 GB, free: 11.82 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005789/0.4067, allocations: 401.2 kB / 0.5336 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4068, allocations: 9.062 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.4068, allocations: 14.97 kB / 0.5337 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.407, allocations: 193.8 kB / 0.5339 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4071, allocations: 8.984 kB / 0.5339 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.4071, allocations: 20.33 kB / 0.5339 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.4074, allocations: 134.6 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.4074, allocations: 5.469 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4074, allocations: 5.938 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4074, allocations: 2.688 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4076, allocations: 63.42 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007415/0.4083, allocations: 0.5417 MB / 0.5346 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.4085, allocations: 84.95 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.4085, allocations: 30.73 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4086, allocations: 4.938 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.4086, allocations: 36.78 kB / 0.5348 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4086, allocations: 7.875 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.4092, allocations: 298.9 kB / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.4093, allocations: 78.23 kB / 0.5351 GB, free: 9.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4094, allocations: 120.7 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4094, allocations: 30.89 kB / 0.5353 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.4095, allocations: 121.3 kB / 0.5354 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4095, allocations: 31.03 kB / 0.5354 GB, free: 9.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4096, allocations: 31.52 kB / 0.5354 GB, free: 9.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4097, allocations: 324.8 kB / 0.5358 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.4098, allocations: 24.06 kB / 0.5358 GB, free: 9.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4099, allocations: 91.7 kB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.4101, allocations: 121 kB / 0.536 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4101, allocations: 1.375 kB / 0.536 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002907/0.4104, allocations: 177.1 kB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4104, allocations: 5.5 kB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4104, allocations: 2.75 kB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.4106, allocations: 39.52 kB / 0.5362 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.4107, allocations: 20.48 kB / 0.5362 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.4128, allocations: 2.727 MB / 0.5389 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.4129, allocations: 11.38 kB / 0.5389 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.4129, allocations: 5.938 kB / 0.5389 GB, free: 6.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.413, allocations: 128.7 kB / 0.539 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.4131, allocations: 12.23 kB / 0.539 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.4131, allocations: 18.09 kB / 0.5391 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4131, allocations: 1.125 kB / 0.5391 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4132, allocations: 1.156 kB / 0.5391 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4132, allocations: 1.188 kB / 0.5391 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.4135, allocations: 199.4 kB / 0.5392 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4135, allocations: 9.125 kB / 0.5393 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.4136, allocations: 10.72 kB / 0.5393 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.4137, allocations: 36.55 kB / 0.5393 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4137, allocations: 12.94 kB / 0.5393 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.4159, allocations: 2.73 MB / 0.542 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4159, allocations: 3.938 kB / 0.542 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.4162, allocations: 311.5 kB / 0.5423 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.4163, allocations: 83.17 kB / 0.5424 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.4163, allocations: 2.188 kB / 0.5424 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.4164, allocations: 5 kB / 0.5424 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.4165, allocations: 11.31 kB / 0.5424 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4165, allocations: 2.188 kB / 0.5424 GB, free: 2.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.162e-05/0.4166, allocations: 92.92 kB / 0.5425 GB, free: 2.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4166, allocations: 5.125 kB / 0.5425 GB, free: 2.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.4169, allocations: 31.81 kB / 0.5425 GB, free: 2.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.4171, allocations: 104 kB / 0.5426 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005525/0.4177, allocations: 302.9 kB / 0.5429 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4177, allocations: 5.156 kB / 0.5429 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.4179, allocations: 258.1 kB / 0.5431 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.4184, allocations: 35.12 kB / 0.5432 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.4192, allocations: 466.9 kB / 0.5436 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4195, allocations: 0.7067 MB / 0.5443 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.441e-05/0.4196, allocations: 4.609 kB / 0.5443 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.4196, allocations: 19.95 kB / 0.5443 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4196, allocations: 0 / 0.5443 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Templates: time 0.004333/0.4239, allocations: 1.529 MB / 0.5458 GB, free: 15.78 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches