Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 117.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 207.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 75.88 kB / 480.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.304, allocations: 62.44 MB / 0.5305 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00846/0.3125, allocations: 7.469 MB / 0.5378 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00622/0.3188, allocations: 3.359 MB / 0.5411 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.3199, allocations: 32.69 kB / 0.5411 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.3217, allocations: 0.7984 MB / 0.5419 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.3248, allocations: 1.295 MB / 0.5431 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3261, allocations: 0.5223 MB / 0.5437 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003198/0.3293, allocations: 2.607 MB / 0.5462 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.3306, allocations: 1.227 MB / 0.5474 GB, free: 336 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009321/0.3316, allocations: 0.7744 MB / 0.5482 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3329, allocations: 1.117 MB / 0.5492 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.3331, allocations: 140 kB / 0.5494 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.3347, allocations: 0.9282 MB / 0.5503 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008122/0.3355, allocations: 1.001 MB / 0.5513 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3366, allocations: 1.215 MB / 0.5524 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.3405, allocations: 4.021 MB / 0.5564 GB, free: 7.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3406, allocations: 0 / 0.5564 GB, free: 7.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3406, allocations: 0 / 0.5564 GB, free: 7.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.29e-05/0.3406, allocations: 3.984 kB / 0.5564 GB, free: 7.098 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.004988/0.3456, allocations: 2.953 MB / 0.5593 GB, free: 4.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3457, allocations: 12.03 kB / 0.5593 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004802/0.3462, allocations: 458.5 kB / 0.5597 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/0.3521, allocations: 1.655 MB / 0.5613 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.3553, allocations: 1.546 MB / 0.5628 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.3555, allocations: 131.4 kB / 0.563 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.3558, allocations: 167.8 kB / 0.5631 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009223/0.365, allocations: 6.449 MB / 0.5694 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.639e-05/0.3651, allocations: 39.66 kB / 0.5695 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.3654, allocations: 79.89 kB / 0.5695 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/0.3678, allocations: 1.441 MB / 0.5709 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00987/0.3777, allocations: 5.728 MB / 0.5765 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.4076, allocations: 26.72 MB / 0.6026 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.4119, allocations: 2.149 MB / 0.6047 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.4131, allocations: 1.035 MB / 0.6057 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.4133, allocations: 178.5 kB / 0.6059 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4134, allocations: 46.83 kB / 0.6059 GB, free: 2.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 2.906e-06/0.4134, allocations: 0 / 0.6059 GB, free: 2.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01541/0.4288, allocations: 6.373 MB / 0.6122 GB, free: 12.21 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.4289, allocations: 140.9 kB / 0.6123 GB, free: 12.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.4327, allocations: 2.889 MB / 0.6151 GB, free: 9.145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.4329, allocations: 41.7 kB / 0.6152 GB, free: 9.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.4342, allocations: 2.11 MB / 0.6172 GB, free: 6.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/0.4347, allocations: 454.3 kB / 0.6177 GB, free: 6.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.4358, allocations: 0.8887 MB / 0.6185 GB, free: 5.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.4359, allocations: 301.1 kB / 0.6188 GB, free: 5.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.438, allocations: 1.422 MB / 0.6202 GB, free: 3.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.4423, allocations: 4.291 MB / 0.6244 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007406/0.4497, allocations: 6.187 MB / 0.6304 GB, free: 6.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-05/0.4498, allocations: 32 kB / 0.6305 GB, free: 6.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008841/0.4586, allocations: 5.484 MB / 0.6358 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.4587, allocations: 56.98 kB / 0.6359 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-05/0.4588, allocations: 100 kB / 0.636 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.459, allocations: 140 kB / 0.6361 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/0.4631, allocations: 1.216 MB / 0.6373 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/0.4633, allocations: 199.2 kB / 0.6375 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.4659, allocations: 243.5 kB / 0.6377 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/0.4663, allocations: 280.1 kB / 0.638 GB, free: 14.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001798/0.4681, allocations: 1.391 MB / 0.6393 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.4685, allocations: 236.9 kB / 0.6396 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.4704, allocations: 1.234 MB / 0.6408 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.4704, allocations: 15.94 kB / 0.6408 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4704, allocations: 4 kB / 0.6408 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4704, allocations: 3.984 kB / 0.6408 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007562/0.478, allocations: 4.562 MB / 0.6452 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.478, allocations: 8 kB / 0.6453 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.4799, allocations: 363.3 kB / 0.6456 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.48, allocations: 11.98 kB / 0.6456 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.48, allocations: 24.5 kB / 0.6456 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.4801, allocations: 16 kB / 0.6457 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4801, allocations: 7.938 kB / 0.6457 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.4826, allocations: 2.159 MB / 0.6478 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.4831, allocations: 305.8 kB / 0.6481 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.4834, allocations: 20 kB / 0.6481 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.4843, allocations: 55.92 kB / 0.6481 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.4844, allocations: 72.08 kB / 0.6482 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/0.4845, allocations: 36 kB / 0.6482 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002617/0.4871, allocations: 1.819 MB / 0.65 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4871, allocations: 3.938 kB / 0.65 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002985/0.4901, allocations: 0.6132 MB / 0.6506 GB, free: 1.598 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002972/0.4931, allocations: 2.785 MB / 0.6533 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00491/0.498, allocations: 3.279 MB / 0.6565 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4981, allocations: 0 / 0.6565 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000985/0.4991, allocations: 0.7941 MB / 0.6573 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5007, allocations: 264.1 kB / 0.6576 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.5406, allocations: 29.69 MB / 0.6866 GB, free: 8.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.5428, allocations: 2.209 MB / 0.6887 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0031/0.5459, allocations: 1.463 MB / 0.6901 GB, free: 5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.5473, allocations: 1.077 MB / 0.6912 GB, free: 3.922 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.5473, allocations: 3.938 kB / 0.6912 GB, free: 3.918 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3185/0.8658, allocations: 41.87 MB / 0.7321 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/17.01, allocations: 15.52 kB / 0.7321 GB, free: 181.6 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches