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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.00197, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 83.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002937/0.3214, allocations: 1.68 MB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.3217, allocations: 113.9 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.3218, allocations: 7.531 kB / 0.5323 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.3219, allocations: 17.58 kB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.322, allocations: 36.08 kB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.3221, allocations: 22.19 kB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3223, allocations: 133.5 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3224, allocations: 38.22 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.3225, allocations: 46.23 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.3226, allocations: 48.34 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3226, allocations: 9.406 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.3226, allocations: 7.062 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.3227, allocations: 19.52 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.3227, allocations: 61.14 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3229, allocations: 121.6 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3229, allocations: 7.938 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3229, allocations: 0 / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.323, allocations: 1.375 kB / 0.5329 GB, free: 11.57 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.0005253/0.3235, allocations: 406.9 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3235, allocations: 9.625 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3236, allocations: 46.86 kB / 0.5333 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.3236, allocations: 11.77 kB / 0.5333 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.3238, allocations: 196.4 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3239, allocations: 14.11 kB / 0.5335 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.3239, allocations: 12.62 kB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.3241, allocations: 125.9 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3241, allocations: 8.766 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3242, allocations: 6.188 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3242, allocations: 2.281 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3243, allocations: 63.02 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.3251, allocations: 0.542 MB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3252, allocations: 93.42 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.3253, allocations: 26.59 kB / 0.5344 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3253, allocations: 9.125 kB / 0.5344 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3254, allocations: 43.58 kB / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3254, allocations: 1.062 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006036/0.326, allocations: 294.7 kB / 0.5347 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.326, allocations: 78.3 kB / 0.5348 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3262, allocations: 129.3 kB / 0.5349 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3262, allocations: 25.7 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.3263, allocations: 121.9 kB / 0.5351 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.3263, allocations: 31.58 kB / 0.5351 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3264, allocations: 27.5 kB / 0.5351 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3265, allocations: 324.2 kB / 0.5354 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.3266, allocations: 21.03 kB / 0.5355 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.3267, allocations: 95.06 kB / 0.5355 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3269, allocations: 116.5 kB / 0.5357 GB, free: 8.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3269, allocations: 1.125 kB / 0.5357 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002861/0.3272, allocations: 174.1 kB / 0.5358 GB, free: 8.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3272, allocations: 5.5 kB / 0.5358 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3272, allocations: 6.688 kB / 0.5358 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.3274, allocations: 34.2 kB / 0.5359 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.3275, allocations: 25.8 kB / 0.5359 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.3297, allocations: 2.732 MB / 0.5386 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.3299, allocations: 20.17 kB / 0.5386 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3299, allocations: 9.484 kB / 0.5386 GB, free: 5.762 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.0001301/0.33, allocations: 129.7 kB / 0.5387 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.3301, allocations: 8.062 kB / 0.5387 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.3301, allocations: 9.281 kB / 0.5387 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3301, allocations: 1.375 kB / 0.5387 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3301, allocations: 1.375 kB / 0.5387 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3301, allocations: 5.375 kB / 0.5387 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.3304, allocations: 207.4 kB / 0.5389 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3304, allocations: 1.156 kB / 0.5389 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.3305, allocations: 14.95 kB / 0.539 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.3307, allocations: 40.45 kB / 0.539 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3307, allocations: 5 kB / 0.539 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.3328, allocations: 2.734 MB / 0.5417 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3328, allocations: 0 / 0.5417 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.3332, allocations: 311.2 kB / 0.542 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.3333, allocations: 79.42 kB / 0.542 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3333, allocations: 6.219 kB / 0.542 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.3334, allocations: 1.031 kB / 0.542 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3334, allocations: 15.41 kB / 0.5421 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3334, allocations: 2.406 kB / 0.5421 GB, free: 2.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.3335, allocations: 96.17 kB / 0.5422 GB, free: 2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3335, allocations: 0.9688 kB / 0.5422 GB, free: 2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.3339, allocations: 40.52 kB / 0.5422 GB, free: 1.988 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.0006918/0.3346, allocations: 0.8331 MB / 0.543 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.3351, allocations: 311 kB / 0.5433 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3351, allocations: 1.188 kB / 0.5433 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.3354, allocations: 258.3 kB / 0.5435 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3359, allocations: 35.92 kB / 0.5436 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3383, allocations: 1.986 MB / 0.5455 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3388, allocations: 0.7075 MB / 0.5462 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.3388, allocations: 4.672 kB / 0.5462 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.3389, allocations: 31.77 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3389, allocations: 0 / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.3731, allocations: 2.997 MB / 0.5492 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.48, allocations: 18.2 kB / 0.5492 GB, free: 12.48 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches