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.001384/0.001384, allocations: 117.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001719, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, 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.2228/0.2228, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 75.89 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3248, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003005/0.3278, allocations: 1.672 MB / 0.5321 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003404/0.3282, allocations: 113.6 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.3283, allocations: 7.281 kB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.3284, allocations: 11.86 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3285, allocations: 39.53 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.3287, allocations: 19.48 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3288, allocations: 132.5 kB / 0.5324 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.329, allocations: 34.23 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.3291, allocations: 49.33 kB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.3292, allocations: 51.92 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3292, allocations: 9.938 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.3292, allocations: 8.688 kB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3293, allocations: 24.14 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.3294, allocations: 57.14 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.3295, allocations: 127.5 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3295, allocations: 4 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3296, allocations: 1.125 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3296, allocations: 0 / 0.5328 GB, free: 11.62 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.0005029/0.3301, allocations: 400.2 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3301, allocations: 13.59 kB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.3302, allocations: 46.7 kB / 0.5332 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3302, allocations: 15.25 kB / 0.5332 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3304, allocations: 188.7 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3305, allocations: 8.953 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.3305, allocations: 21.25 kB / 0.5334 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3307, allocations: 129.6 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3308, allocations: 9.406 kB / 0.5336 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3308, allocations: 1.5 kB / 0.5336 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3308, allocations: 3.062 kB / 0.5336 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.3309, allocations: 63.61 kB / 0.5336 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.3316, allocations: 0.5416 MB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3318, allocations: 88.42 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3318, allocations: 38.97 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3318, allocations: 5.375 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3319, allocations: 31.94 kB / 0.5343 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.3319, allocations: 0 / 0.5343 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005906/0.3325, allocations: 299.1 kB / 0.5346 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3325, allocations: 78.48 kB / 0.5347 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3326, allocations: 132.8 kB / 0.5348 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3327, allocations: 27.08 kB / 0.5348 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.3327, allocations: 117.2 kB / 0.535 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.3328, allocations: 31.69 kB / 0.535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3328, allocations: 31.33 kB / 0.535 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.3329, allocations: 324.1 kB / 0.5353 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.333, allocations: 20.38 kB / 0.5353 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.333, allocations: 88.5 kB / 0.5354 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3332, allocations: 121.5 kB / 0.5355 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3332, allocations: 1.375 kB / 0.5355 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002639/0.3335, allocations: 173.1 kB / 0.5357 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3335, allocations: 6.875 kB / 0.5357 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3335, allocations: 5.312 kB / 0.5357 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.3337, allocations: 35.58 kB / 0.5358 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.3338, allocations: 25.8 kB / 0.5358 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.3357, allocations: 2.738 MB / 0.5385 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.3358, allocations: 8.906 kB / 0.5385 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3359, allocations: 9.312 kB / 0.5385 GB, free: 5.82 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.0001129/0.336, allocations: 124.3 kB / 0.5386 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.336, allocations: 16.17 kB / 0.5386 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.3361, allocations: 13.75 kB / 0.5386 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3361, allocations: 5.031 kB / 0.5386 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3361, allocations: 5.062 kB / 0.5386 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3361, allocations: 1.094 kB / 0.5386 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3364, allocations: 203.8 kB / 0.5388 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3364, allocations: 1.375 kB / 0.5388 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.3365, allocations: 15.31 kB / 0.5388 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.3366, allocations: 35.89 kB / 0.5389 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3366, allocations: 4.969 kB / 0.5389 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.3385, allocations: 2.742 MB / 0.5416 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3386, allocations: 0 / 0.5416 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3389, allocations: 307.8 kB / 0.5419 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.339, allocations: 83.08 kB / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.339, allocations: 2.188 kB / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.3391, allocations: 4 kB / 0.5419 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3391, allocations: 8.469 kB / 0.5419 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.3392, allocations: 2.844 kB / 0.5419 GB, free: 2.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.3392, allocations: 96.36 kB / 0.542 GB, free: 2.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3392, allocations: 0 / 0.542 GB, free: 2.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.3397, allocations: 32.59 kB / 0.5421 GB, free: 2.051 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.0006855/0.3404, allocations: 0.8411 MB / 0.5429 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.3409, allocations: 302.7 kB / 0.5432 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3409, allocations: 1.125 kB / 0.5432 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.3412, allocations: 258.6 kB / 0.5434 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.3418, allocations: 39.22 kB / 0.5435 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.3443, allocations: 1.976 MB / 0.5454 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3447, allocations: 0.7117 MB / 0.5461 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.831e-05/0.3447, allocations: 8.984 kB / 0.5461 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.3448, allocations: 31.98 kB / 0.5461 GB, free: 14.1 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3448, allocations: 0 / 0.5461 GB, free: 14.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04005/0.3848, allocations: 3.042 MB / 0.5491 GB, free: 12.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/9.828, allocations: 6.031 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