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.001193/0.001193, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 74.28 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1145, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008858/0.1234, allocations: 7.459 MB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.1303, allocations: 3.352 MB / 490.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008705/0.1312, allocations: 35.88 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.133, allocations: 0.7977 MB / 491.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.1363, allocations: 1.3 MB / 493.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1375, allocations: 0.5184 MB / 493.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.1406, allocations: 2.594 MB / 496.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.1422, allocations: 1.237 MB / 497.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.1432, allocations: 0.7666 MB / 498.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.1446, allocations: 1.117 MB / 499.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004139/0.145, allocations: 140 kB / 499.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.1467, allocations: 0.9282 MB / 0.4886 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009278/0.1477, allocations: 1.009 MB / 0.4896 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.1491, allocations: 1.211 MB / 0.4908 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.1534, allocations: 3.847 MB / 0.4946 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1534, allocations: 0 / 0.4946 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1534, allocations: 0 / 0.4946 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001649/0.1536, allocations: 4 kB / 0.4946 GB, free: 10.77 MB / 382.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.006714/0.1603, allocations: 2.945 MB / 0.4974 GB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.1604, allocations: 8.031 kB / 0.4974 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001251/0.1616, allocations: 462.4 kB / 0.4979 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006201/0.1679, allocations: 1.658 MB / 0.4995 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.1708, allocations: 1.535 MB / 0.501 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.171, allocations: 123.4 kB / 0.5011 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/0.1716, allocations: 167.8 kB / 0.5013 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1945/0.3661, allocations: 6.448 MB / 0.5076 GB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.815e-05/0.3662, allocations: 33.48 kB / 0.5076 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.3665, allocations: 86.41 kB / 0.5077 GB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/0.3689, allocations: 1.44 MB / 0.5091 GB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.3797, allocations: 5.732 MB / 0.5147 GB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.4042, allocations: 26.79 MB / 0.5409 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.4077, allocations: 2.146 MB / 0.543 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009609/0.4087, allocations: 1.034 MB / 0.544 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.4088, allocations: 181.6 kB / 0.5441 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4089, allocations: 46.7 kB / 0.5442 GB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.296e-06/0.4089, allocations: 4 kB / 0.5442 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01277/0.4216, allocations: 6.36 MB / 0.5504 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4217, allocations: 141 kB / 0.5505 GB, free: 6.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.4244, allocations: 2.893 MB / 0.5534 GB, free: 3.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4245, allocations: 41.7 kB / 0.5534 GB, free: 3.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/0.4253, allocations: 2.104 MB / 0.5555 GB, free: 1.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.4256, allocations: 458.4 kB / 0.5559 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/0.4264, allocations: 0.8945 MB / 0.5568 GB, free: 328 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.4264, allocations: 301.1 kB / 0.5571 GB, free: 24 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.4285, allocations: 1.418 MB / 0.5584 GB, free: 14.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004342/0.4328, allocations: 4.291 MB / 0.5626 GB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007434/0.4403, allocations: 6.199 MB / 0.5687 GB, free: 1.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.263e-05/0.4404, allocations: 28 kB / 0.5687 GB, free: 1.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008884/0.4493, allocations: 5.476 MB / 0.5741 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.4494, allocations: 48 kB / 0.5741 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.4495, allocations: 100.9 kB / 0.5742 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.4497, allocations: 140.2 kB / 0.5743 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/0.4537, allocations: 1.224 MB / 0.5755 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000136/0.4538, allocations: 203.2 kB / 0.5757 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/0.4565, allocations: 243.2 kB / 0.576 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/0.4568, allocations: 284 kB / 0.5762 GB, free: 9.5 MB / 414.1 MB 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.4587, allocations: 1.382 MB / 0.5776 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/0.4591, allocations: 241 kB / 0.5778 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.4611, allocations: 1.245 MB / 0.579 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.4612, allocations: 15.94 kB / 0.579 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4612, allocations: 0 / 0.579 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4612, allocations: 7.984 kB / 0.579 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/0.4683, allocations: 4.546 MB / 0.5835 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4684, allocations: 15.98 kB / 0.5835 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/0.4703, allocations: 367.3 kB / 0.5838 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.4703, allocations: 8 kB / 0.5839 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.4704, allocations: 24 kB / 0.5839 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.4704, allocations: 8 kB / 0.5839 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.4704, allocations: 11.92 kB / 0.5839 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.4729, allocations: 2.162 MB / 0.586 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.4735, allocations: 301.8 kB / 0.5863 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.4737, allocations: 27.98 kB / 0.5863 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/0.4746, allocations: 51.94 kB / 0.5864 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4748, allocations: 71.8 kB / 0.5864 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.4748, allocations: 32 kB / 0.5865 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.4771, allocations: 1.827 MB / 0.5883 GB, free: 12.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4771, allocations: 0 / 0.5883 GB, free: 12.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002862/0.48, allocations: 0.6068 MB / 0.5888 GB, free: 12.36 MB / 430.1 MB 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.002808/0.4828, allocations: 2.795 MB / 0.5916 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004877/0.4877, allocations: 3.469 MB / 0.595 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4877, allocations: 0 / 0.595 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.4887, allocations: 0.788 MB / 0.5957 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.4903, allocations: 293.3 kB / 0.596 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03871/0.5291, allocations: 32.32 MB / 0.6276 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.5314, allocations: 2.202 MB / 0.6297 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003388/0.5348, allocations: 1.459 MB / 0.6311 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/0.5364, allocations: 1.073 MB / 0.6322 GB, free: 10.54 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5364, allocations: 3.938 kB / 0.6322 GB, free: 10.53 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0726/0.609, allocations: 44.18 MB / 0.6753 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.11, allocations: 1.641 kB / 0.6753 GB, free: 14.5 MB / 0.5137 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