Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 113.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 188.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.88 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3415, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005465/0.347, allocations: 3.274 MB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3491, allocations: 0.8069 MB / 0.5224 GB, free: 376 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.3496, allocations: 15.25 kB / 0.5224 GB, free: 368 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.35, allocations: 68.33 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000786/0.3508, allocations: 168.3 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.3513, allocations: 112.5 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3524, allocations: 0.5985 MB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.3528, allocations: 165.4 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.3534, allocations: 224.2 kB / 0.5237 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.354, allocations: 243.3 kB / 0.5239 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.3542, allocations: 41.47 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.3544, allocations: 44.66 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3546, allocations: 106.5 kB / 0.5241 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.3551, allocations: 267.3 kB / 0.5244 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009517/0.3561, allocations: 0.5665 MB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3561, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3561, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.3562, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00188/0.3581, allocations: 0.7556 MB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3581, allocations: 9.625 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.3583, allocations: 84.89 kB / 0.5257 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.3584, allocations: 52.44 kB / 0.5258 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.3589, allocations: 323.9 kB / 0.5261 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.3589, allocations: 36.62 kB / 0.5261 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/0.359, allocations: 57.08 kB / 0.5262 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.3598, allocations: 439.5 kB / 0.5266 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.3598, allocations: 8.188 kB / 0.5266 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.3599, allocations: 21.12 kB / 0.5266 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3599, allocations: 11.5 kB / 0.5267 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.3604, allocations: 315.3 kB / 0.527 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.3626, allocations: 1.146 MB / 0.5281 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.3636, allocations: 491.4 kB / 0.5285 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.3641, allocations: 214.4 kB / 0.5287 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.3641, allocations: 11 kB / 0.5288 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.3642, allocations: 45.53 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 3.256e-06/0.3642, allocations: 0 / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.004608/0.3688, allocations: 2.125 MB / 0.5309 GB, free: 10.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.3689, allocations: 85.27 kB / 0.531 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.3693, allocations: 263 kB / 0.5312 GB, free: 10.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.3694, allocations: 37.17 kB / 0.5312 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.3696, allocations: 204.1 kB / 0.5314 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.3699, allocations: 275.6 kB / 0.5317 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3701, allocations: 118 kB / 0.5318 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3703, allocations: 360.4 kB / 0.5322 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.3706, allocations: 155.8 kB / 0.5323 GB, free: 9.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.3711, allocations: 276.8 kB / 0.5326 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000949/0.3721, allocations: 484.6 kB / 0.533 GB, free: 9.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3721, allocations: 0 / 0.533 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001359/0.3734, allocations: 0.5628 MB / 0.5336 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3735, allocations: 11.06 kB / 0.5336 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3735, allocations: 2.219 kB / 0.5336 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/0.3735, allocations: 6.844 kB / 0.5336 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.3744, allocations: 183.8 kB / 0.5338 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.3744, allocations: 6.406 kB / 0.5338 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.3748, allocations: 28.31 kB / 0.5338 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.3748, allocations: 23.59 kB / 0.5338 GB, free: 8.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * 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.0002555/0.3751, allocations: 191 kB / 0.534 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3752, allocations: 40.62 kB / 0.5341 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.3754, allocations: 57.83 kB / 0.5341 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3754, allocations: 11.5 kB / 0.5341 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.3754, allocations: 1.125 kB / 0.5341 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.3754, allocations: 8.984 kB / 0.5341 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.3784, allocations: 1.431 MB / 0.5355 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.3784, allocations: 3.344 kB / 0.5355 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.3793, allocations: 161.1 kB / 0.5357 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/0.3793, allocations: 6.438 kB / 0.5357 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.3794, allocations: 18.75 kB / 0.5357 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/0.3794, allocations: 10.34 kB / 0.5357 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.3794, allocations: 3.188 kB / 0.5357 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.3811, allocations: 0.9092 MB / 0.5366 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.3813, allocations: 123.5 kB / 0.5367 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/0.3814, allocations: 19.16 kB / 0.5367 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.3819, allocations: 19.83 kB / 0.5368 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.382, allocations: 58.81 kB / 0.5368 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.3821, allocations: 28.34 kB / 0.5368 GB, free: 6.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.3823, allocations: 176.8 kB / 0.537 GB, free: 6.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3824, allocations: 0 / 0.537 GB, free: 6.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008289/0.3832, allocations: 142.7 kB / 0.5371 GB, free: 6.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * 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.002069/0.3853, allocations: 1.475 MB / 0.5386 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.3864, allocations: 453.3 kB / 0.539 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.3865, allocations: 0.5625 kB / 0.539 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.3869, allocations: 243.7 kB / 0.5393 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3882, allocations: 123.5 kB / 0.5394 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.3974, allocations: 4.759 MB / 0.544 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.398, allocations: 0.8524 MB / 0.5449 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.3983, allocations: 52.7 kB / 0.5449 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3986, allocations: 171.3 kB / 0.5451 GB, free: 15.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3986, allocations: 0 / 0.5451 GB, free: 15.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.4322, allocations: 10.09 MB / 0.5549 GB, free: 5.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.976, allocations: 15.72 kB / 0.5549 GB, free: 5.93 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches