Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001823/0.001823, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 213.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] 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.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3579, allocations: 66.1 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002534/0.3604, allocations: 0.8984 MB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3626, allocations: 1.397 MB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3626, allocations: 12 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.3e-05/0.3627, allocations: 19.86 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009191/0.3636, allocations: 303.2 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.77e-06/0.3636, allocations: 0 / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3638, allocations: 123.5 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.3638, allocations: 5.75 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.3639, allocations: 59.73 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.377, allocations: 10.8 MB / 0.574 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3771, allocations: 4 kB / 0.574 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.3775, allocations: 95.83 kB / 0.5741 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.3777, allocations: 223.2 kB / 0.5743 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3778, allocations: 146.3 kB / 0.5745 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.3783, allocations: 465.3 kB / 0.5749 GB, free: 5.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3783, allocations: 4 kB / 0.5749 GB, free: 5.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3783, allocations: 0 / 0.5749 GB, free: 5.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3784, allocations: 0 / 0.5749 GB, free: 5.445 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009463/0.3793, allocations: 0.8759 MB / 0.5758 GB, free: 4.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3793, allocations: 8.031 kB / 0.5758 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.3794, allocations: 74.66 kB / 0.5758 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3795, allocations: 92.28 kB / 0.5759 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.3798, allocations: 338.7 kB / 0.5763 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3799, allocations: 8.359 kB / 0.5763 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.3799, allocations: 20.28 kB / 0.5763 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.3806, allocations: 0.583 MB / 0.5769 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3806, allocations: 3.938 kB / 0.5769 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3806, allocations: 7.984 kB / 0.5769 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.3809, allocations: 171.9 kB / 0.577 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.3813, allocations: 379.5 kB / 0.5774 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3823, allocations: 0.6151 MB / 0.578 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.383, allocations: 0.7607 MB / 0.5787 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.3835, allocations: 476.5 kB / 0.5792 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3835, allocations: 15.94 kB / 0.5792 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.3836, allocations: 70.95 kB / 0.5793 GB, free: 424 kB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.504e-06/0.3836, allocations: 0 / 0.5793 GB, free: 424 kB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001575/0.3852, allocations: 1.336 MB / 0.5806 GB, free: 15.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004586/0.3856, allocations: 0.6511 MB / 0.5812 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.3865, allocations: 0.7821 MB / 0.582 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3865, allocations: 33.69 kB / 0.582 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.3868, allocations: 302.1 kB / 0.5823 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.387, allocations: 325.1 kB / 0.5826 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3872, allocations: 89.48 kB / 0.5827 GB, free: 12.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3874, allocations: 334 kB / 0.583 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.3878, allocations: 344.8 kB / 0.5833 GB, free: 12.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.3882, allocations: 0.5062 MB / 0.5838 GB, free: 11.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3893, allocations: 0.9373 MB / 0.5847 GB, free: 10.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3893, allocations: 0 / 0.5847 GB, free: 10.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001137/0.3904, allocations: 0.9687 MB / 0.5857 GB, free: 9.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3904, allocations: 8 kB / 0.5857 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3904, allocations: 4 kB / 0.5857 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.3905, allocations: 8 kB / 0.5857 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-06/0.3905, allocations: 11.94 kB / 0.5857 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3905, allocations: 4 kB / 0.5857 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3906, allocations: 47.55 kB / 0.5858 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.3907, allocations: 35.97 kB / 0.5858 GB, free: 9.367 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0003718/0.391, allocations: 314.2 kB / 0.5861 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3912, allocations: 99.31 kB / 0.5862 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.3913, allocations: 93.77 kB / 0.5863 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002147/0.3915, allocations: 175.9 kB / 0.5865 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.3915, allocations: 4 kB / 0.5865 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.3915, allocations: 11.98 kB / 0.5865 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.3922, allocations: 0.5 MB / 0.587 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3922, allocations: 4 kB / 0.587 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.3923, allocations: 11.94 kB / 0.587 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.3923, allocations: 8 kB / 0.587 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.3923, allocations: 19.97 kB / 0.587 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.3923, allocations: 11.94 kB / 0.587 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.3923, allocations: 11.94 kB / 0.587 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3935, allocations: 1.103 MB / 0.5881 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3936, allocations: 95.16 kB / 0.5882 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.3937, allocations: 15.97 kB / 0.5882 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3938, allocations: 11.98 kB / 0.5882 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.3938, allocations: 35.84 kB / 0.5883 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.3939, allocations: 35.97 kB / 0.5883 GB, free: 6.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000583/0.3945, allocations: 0.5575 MB / 0.5888 GB, free: 6.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3945, allocations: 3.938 kB / 0.5888 GB, free: 6.121 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004251/0.3949, allocations: 59.84 kB / 0.5889 GB, free: 6.062 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (24): * Single equations (assignments): 0 * Array equations: 24 * 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.001641/0.3965, allocations: 1.66 MB / 0.5905 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3975, allocations: 0.7767 MB / 0.5913 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3975, allocations: 0 / 0.5913 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.398, allocations: 400 kB / 0.5917 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3984, allocations: 45.3 kB / 0.5917 GB, free: 3.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.401, allocations: 2.02 MB / 0.5937 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.4014, allocations: 427.2 kB / 0.5941 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.4016, allocations: 88.95 kB / 0.5942 GB, free: 428 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.4019, allocations: 255.3 kB / 0.5944 GB, free: 172 kB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4019, allocations: 0 / 0.5944 GB, free: 172 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.4419, allocations: 10.44 MB / 0.6046 GB, free: 5.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.98, allocations: 12.05 kB / 0.6046 GB, free: 5.797 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/QuaternionFromT/QuaternionFromT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.952275063376874]