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.00153/0.001533, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 81.52 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 62.44 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03497/0.1639, allocations: 34.51 MB / 0.5019 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2975/0.4615, allocations: 7.805 MB / 0.5095 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007798/0.4693, allocations: 152.4 kB / 0.5096 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.4735, allocations: 1.915 MB / 0.5115 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.4784, allocations: 1.522 MB / 0.513 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4802, allocations: 0.5623 MB / 0.5135 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007951/0.4881, allocations: 4.764 MB / 0.5182 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005472/0.4936, allocations: 2.539 MB / 0.5207 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.4963, allocations: 1.094 MB / 0.5217 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.4992, allocations: 1.786 MB / 0.5235 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.4998, allocations: 174.7 kB / 0.5236 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.5021, allocations: 0.9955 MB / 0.5246 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.5035, allocations: 1.5 MB / 0.5261 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.5052, allocations: 1.751 MB / 0.5278 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005609/0.5108, allocations: 5.535 MB / 0.5332 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.5109, allocations: 0 / 0.5332 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5109, allocations: 0 / 0.5332 GB, free: 2.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00013/0.511, allocations: 2.094 kB / 0.5332 GB, free: 2.238 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008429/0.5194, allocations: 4.01 MB / 0.5371 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.5195, allocations: 14.95 kB / 0.5371 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008832/0.5204, allocations: 0.6075 MB / 0.5377 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005959/0.5264, allocations: 1.788 MB / 0.5395 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004206/0.5306, allocations: 2.113 MB / 0.5415 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.5307, allocations: 195.5 kB / 0.5417 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004518/0.5312, allocations: 259.6 kB / 0.542 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.5449, allocations: 8.44 MB / 0.5502 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.545, allocations: 43.58 kB / 0.5502 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005705/0.5456, allocations: 133.1 kB / 0.5504 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/0.5484, allocations: 1.694 MB / 0.552 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.564, allocations: 7.113 MB / 0.559 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04971/0.6138, allocations: 34.15 MB / 0.5923 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008056/0.6219, allocations: 3.296 MB / 0.5955 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.624, allocations: 1.469 MB / 0.597 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007679/0.6317, allocations: 4.44 MB / 0.6013 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.6318, allocations: 51.06 kB / 0.6014 GB, free: 14.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 3.857e-06/0.6318, allocations: 0 / 0.6014 GB, free: 14.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03296/0.6648, allocations: 11.57 MB / 0.6126 GB, free: 2.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.6649, allocations: 170.9 kB / 0.6128 GB, free: 2.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/0.6723, allocations: 3.717 MB / 0.6164 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.6726, allocations: 47.81 kB / 0.6165 GB, free: 14.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.675, allocations: 2.749 MB / 0.6192 GB, free: 11.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000851/0.6759, allocations: 0.5162 MB / 0.6197 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/0.6782, allocations: 1.079 MB / 0.6207 GB, free: 10.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.6783, allocations: 305.1 kB / 0.621 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.6811, allocations: 1.705 MB / 0.6227 GB, free: 8.199 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/0.6862, allocations: 5.115 MB / 0.6277 GB, free: 1.355 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008878/0.6951, allocations: 7.41 MB / 0.6349 GB, free: 8.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/0.6952, allocations: 36 kB / 0.635 GB, free: 8.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01368/0.7089, allocations: 6.709 MB / 0.6415 GB, free: 1.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.7091, allocations: 56 kB / 0.6416 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002872/0.7094, allocations: 123.9 kB / 0.6417 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007627/0.7102, allocations: 316.7 kB / 0.642 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/0.7143, allocations: 1.244 MB / 0.6432 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.7171, allocations: 2.287 MB / 0.6454 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/0.7212, allocations: 298.1 kB / 0.6457 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000887/0.7221, allocations: 335.9 kB / 0.646 GB, free: 12.71 MB / 0.4981 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.003699/0.7259, allocations: 1.783 MB / 0.6478 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00083/0.7267, allocations: 312 kB / 0.6481 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.7318, allocations: 2.37 MB / 0.6504 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.7318, allocations: 16 kB / 0.6504 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7319, allocations: 7.938 kB / 0.6504 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.7319, allocations: 3.984 kB / 0.6504 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.7461, allocations: 5.93 MB / 0.6562 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.7461, allocations: 4 kB / 0.6562 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.747, allocations: 171.7 kB / 0.6564 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.7493, allocations: 0.7225 MB / 0.6571 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.7494, allocations: 20 kB / 0.6571 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006316/0.7558, allocations: 4.458 MB / 0.6614 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7558, allocations: 4 kB / 0.6615 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007443/0.7632, allocations: 4.339 MB / 0.6657 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.7646, allocations: 365 kB / 0.666 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008341/0.7655, allocations: 20 kB / 0.6661 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.7671, allocations: 71.89 kB / 0.6661 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.7673, allocations: 68.5 kB / 0.6662 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.7675, allocations: 38.81 kB / 0.6662 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005195/0.7727, allocations: 2.323 MB / 0.6685 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7727, allocations: 0 / 0.6685 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00537/0.7781, allocations: 0.8085 MB / 0.6693 GB, free: 4.645 MB / 0.5137 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.007962/0.786, allocations: 4.965 MB / 0.6741 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007244/0.7933, allocations: 4.031 MB / 0.6781 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7933, allocations: 0 / 0.6781 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.795, allocations: 1.115 MB / 0.6792 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.7984, allocations: 375.3 kB / 0.6795 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3473/1.146, allocations: 43.7 MB / 0.7222 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/1.15, allocations: 2.785 MB / 0.7249 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004319/1.154, allocations: 1.663 MB / 0.7265 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/1.156, allocations: 1.521 MB / 0.728 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/1.156, allocations: 0 / 0.728 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0913/1.248, allocations: 59.8 MB / 0.7864 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.248, allocations: 231.3 kB / 0.7866 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.808/5.055, allocations: 0 / 0.7866 GB, free: 133.6 MB / 0.5606 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