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.001095/0.001095, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3206, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002966/0.3236, allocations: 1.662 MB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.324, allocations: 121.9 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.3241, allocations: 1.781 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.856e-05/0.3241, allocations: 17.58 kB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.3243, allocations: 37.05 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.3244, allocations: 27.59 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3246, allocations: 130.7 kB / 0.5324 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3247, allocations: 32.27 kB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3248, allocations: 49.55 kB / 0.5325 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.3249, allocations: 53.45 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.325, allocations: 8.969 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.325, allocations: 9.938 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.325, allocations: 22.2 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.3251, allocations: 53 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3252, allocations: 126.9 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3253, allocations: 1.375 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3253, allocations: 0 / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3253, allocations: 0 / 0.5328 GB, free: 11.64 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.000489/0.3258, allocations: 408.5 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3258, allocations: 9.625 kB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3259, allocations: 41.5 kB / 0.5332 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3259, allocations: 15.62 kB / 0.5332 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3261, allocations: 193.8 kB / 0.5334 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3261, allocations: 8.734 kB / 0.5334 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3262, allocations: 16.53 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3264, allocations: 139.3 kB / 0.5336 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3264, allocations: 7.875 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3264, allocations: 5.594 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3264, allocations: 3.844 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.3266, allocations: 62.52 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.3273, allocations: 0.5375 MB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3274, allocations: 89.33 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.3275, allocations: 34.83 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3275, allocations: 1.125 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3275, allocations: 39.69 kB / 0.5343 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3275, allocations: 1.062 kB / 0.5343 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000554/0.3281, allocations: 298.7 kB / 0.5346 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3281, allocations: 78.42 kB / 0.5347 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.3282, allocations: 125.2 kB / 0.5348 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3282, allocations: 25.7 kB / 0.5348 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3283, allocations: 121.7 kB / 0.5349 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3283, allocations: 31.05 kB / 0.535 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3284, allocations: 27.31 kB / 0.535 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.3285, allocations: 325.5 kB / 0.5353 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.3285, allocations: 24.14 kB / 0.5353 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.3286, allocations: 96.22 kB / 0.5354 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3288, allocations: 122.1 kB / 0.5355 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3288, allocations: 0 / 0.5355 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002578/0.329, allocations: 162.1 kB / 0.5357 GB, free: 8.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3291, allocations: 18.3 kB / 0.5357 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3291, allocations: 6.812 kB / 0.5357 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.3293, allocations: 38.33 kB / 0.5358 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.3293, allocations: 21.81 kB / 0.5358 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.3311, allocations: 2.735 MB / 0.5385 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.3312, allocations: 16 kB / 0.5385 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3312, allocations: 5.5 kB / 0.5385 GB, free: 5.824 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 9.981e-05/0.3313, allocations: 128.8 kB / 0.5386 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.3314, allocations: 11.97 kB / 0.5386 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.3314, allocations: 9.281 kB / 0.5386 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3315, allocations: 5.359 kB / 0.5386 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3315, allocations: 1.375 kB / 0.5386 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3315, allocations: 1.375 kB / 0.5386 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.3317, allocations: 195.6 kB / 0.5388 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3317, allocations: 0 / 0.5388 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.3318, allocations: 24.3 kB / 0.5388 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.563e-05/0.3319, allocations: 43.08 kB / 0.5389 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3319, allocations: 2.25 kB / 0.5389 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.3336, allocations: 2.733 MB / 0.5415 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3336, allocations: 0.9375 kB / 0.5415 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.3339, allocations: 307 kB / 0.5418 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.334, allocations: 87.23 kB / 0.5419 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.334, allocations: 6.594 kB / 0.5419 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.3341, allocations: 3.938 kB / 0.5419 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.3341, allocations: 7.859 kB / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3341, allocations: 6.375 kB / 0.5419 GB, free: 2.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.3342, allocations: 93.14 kB / 0.542 GB, free: 2.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3342, allocations: 0 / 0.542 GB, free: 2.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.3346, allocations: 32.09 kB / 0.5421 GB, free: 2.059 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.0005331/0.3351, allocations: 0.8345 MB / 0.5429 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.3356, allocations: 307 kB / 0.5432 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3356, allocations: 4 kB / 0.5432 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.3358, allocations: 255.5 kB / 0.5434 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.3363, allocations: 45.81 kB / 0.5435 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3384, allocations: 1.976 MB / 0.5454 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3387, allocations: 0.7083 MB / 0.5461 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.3387, allocations: 8.188 kB / 0.5461 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.3388, allocations: 27.67 kB / 0.5461 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3388, allocations: 0 / 0.5461 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.3645, allocations: 3.054 MB / 0.5491 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.371/9.735, allocations: 11.75 kB / 0.5491 GB, free: 12.52 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