Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 199.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.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3637, allocations: 62.45 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01139/0.3751, allocations: 10.22 MB / 0.5405 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.3831, allocations: 3.797 MB / 0.5442 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.3849, allocations: 58.34 kB / 0.5443 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.3892, allocations: 1.946 MB / 0.5462 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.3941, allocations: 1.623 MB / 0.5478 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.396, allocations: 0.6124 MB / 0.5484 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005671/0.4017, allocations: 3.364 MB / 0.5516 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/0.4057, allocations: 2.578 MB / 0.5542 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.4085, allocations: 1.23 MB / 0.5554 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.4116, allocations: 1.67 MB / 0.557 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.4127, allocations: 252 kB / 0.5572 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.4155, allocations: 1.022 MB / 0.5582 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.4176, allocations: 1.562 MB / 0.5598 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.4208, allocations: 1.817 MB / 0.5615 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007917/0.4288, allocations: 5.788 MB / 0.5672 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4288, allocations: 3.938 kB / 0.5672 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4288, allocations: 4 kB / 0.5672 GB, free: 12.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.429, allocations: 0 / 0.5672 GB, free: 12.06 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009363/0.4384, allocations: 4.007 MB / 0.5711 GB, free: 7.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4385, allocations: 11.97 kB / 0.5711 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001451/0.4399, allocations: 0.6121 MB / 0.5717 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006919/0.4469, allocations: 1.778 MB / 0.5735 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005558/0.4525, allocations: 2.158 MB / 0.5756 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.4528, allocations: 189 kB / 0.5757 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.4543, allocations: 255.8 kB / 0.576 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.4738, allocations: 8.451 MB / 0.5842 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/0.4741, allocations: 39.64 kB / 0.5843 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008372/0.4749, allocations: 127.8 kB / 0.5844 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003442/0.4784, allocations: 1.703 MB / 0.5861 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.4963, allocations: 7.106 MB / 0.593 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/0.5461, allocations: 34.02 MB / 0.6262 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008278/0.5544, allocations: 3.296 MB / 0.6294 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.5569, allocations: 1.458 MB / 0.6309 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009137/0.5661, allocations: 4.448 MB / 0.6352 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.5662, allocations: 47.06 kB / 0.6353 GB, free: 4.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 5.981e-06/0.5662, allocations: 0 / 0.6353 GB, free: 4.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03179/0.598, allocations: 11.55 MB / 0.6465 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5981, allocations: 170.8 kB / 0.6467 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006305/0.6045, allocations: 3.725 MB / 0.6503 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.6047, allocations: 41.7 kB / 0.6504 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.607, allocations: 2.752 MB / 0.6531 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007958/0.6078, allocations: 0.5248 MB / 0.6536 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002315/0.6102, allocations: 1.071 MB / 0.6546 GB, free: 56 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6103, allocations: 309.1 kB / 0.6549 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00298/0.6133, allocations: 1.701 MB / 0.6566 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005777/0.6191, allocations: 5.123 MB / 0.6616 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00965/0.6288, allocations: 7.413 MB / 0.6688 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/0.629, allocations: 36 kB / 0.6688 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.0143/0.6433, allocations: 6.703 MB / 0.6754 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.6436, allocations: 59.94 kB / 0.6755 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002893/0.6439, allocations: 124 kB / 0.6756 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008677/0.6448, allocations: 325.1 kB / 0.6759 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/0.6492, allocations: 1.24 MB / 0.6771 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.6526, allocations: 2.49 MB / 0.6795 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/0.6573, allocations: 295.5 kB / 0.6798 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/0.6584, allocations: 336 kB / 0.6801 GB, free: 2.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00417/0.6626, allocations: 1.779 MB / 0.6819 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008574/0.6635, allocations: 316 kB / 0.6822 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/0.6692, allocations: 2.378 MB / 0.6845 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.664e-05/0.6693, allocations: 16 kB / 0.6845 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.6693, allocations: 0 / 0.6845 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.6694, allocations: 7.984 kB / 0.6845 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.6848, allocations: 5.914 MB / 0.6903 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.6849, allocations: 3.938 kB / 0.6903 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.6859, allocations: 175.8 kB / 0.6905 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.6882, allocations: 0.7146 MB / 0.6912 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/0.6885, allocations: 24 kB / 0.6912 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006752/0.6953, allocations: 4.821 MB / 0.6959 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6953, allocations: 4 kB / 0.6959 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008124/0.7035, allocations: 4.343 MB / 0.7001 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7046, allocations: 357 kB / 0.7005 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009521/0.7056, allocations: 20 kB / 0.7005 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/0.7075, allocations: 79.89 kB / 0.7006 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.7078, allocations: 68.56 kB / 0.7006 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/0.708, allocations: 32 kB / 0.7007 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005297/0.7134, allocations: 2.323 MB / 0.7029 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.01e-07/0.7134, allocations: 3.938 kB / 0.7029 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00559/0.719, allocations: 0.8008 MB / 0.7037 GB, free: 9.871 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009941/0.729, allocations: 4.974 MB / 0.7086 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009344/0.7384, allocations: 4.046 MB / 0.7125 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.7384, allocations: 0 / 0.7125 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.7408, allocations: 1.112 MB / 0.7136 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/0.7449, allocations: 385.9 kB / 0.714 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2927/1.038, allocations: 37.59 MB / 0.7507 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.04, allocations: 2.784 MB / 0.7534 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003159/1.043, allocations: 1.658 MB / 0.755 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.045, allocations: 1.519 MB / 0.7565 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/1.045, allocations: 0 / 0.7565 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09427/1.139, allocations: 58.44 MB / 0.8136 GB, free: 99.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.29/23.43, allocations: 0 / 0.8136 GB, free: 99.46 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches