Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001716/0.001715, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002097/0.002097, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3165, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003035/0.3196, allocations: 1.872 MB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.32, allocations: 148.8 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.3201, allocations: 1 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.455e-05/0.3202, allocations: 24.02 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.3203, allocations: 57.48 kB / 0.5326 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3205, allocations: 39.62 kB / 0.5327 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3207, allocations: 187 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3209, allocations: 61 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.321, allocations: 66.03 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3211, allocations: 75.08 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3211, allocations: 14.34 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.3212, allocations: 14.47 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.3212, allocations: 32.2 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.3213, allocations: 85.97 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3216, allocations: 182.1 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3216, allocations: 0 / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3216, allocations: 0 / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3216, allocations: 0 / 0.5334 GB, free: 11.21 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006314/0.3222, allocations: 465.4 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3223, allocations: 10.03 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.3223, allocations: 47.3 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3224, allocations: 21.67 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3226, allocations: 209.2 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3226, allocations: 14.36 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.3227, allocations: 19.33 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.323, allocations: 166.4 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.323, allocations: 11.88 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.323, allocations: 10.59 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.323, allocations: 4.188 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.3232, allocations: 85.88 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.324, allocations: 0.6071 MB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3242, allocations: 134.9 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.3243, allocations: 47.7 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3244, allocations: 5.312 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3244, allocations: 35.94 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3244, allocations: 0 / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008003/0.3252, allocations: 381.8 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3253, allocations: 82.42 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3254, allocations: 134.7 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3254, allocations: 25.7 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.3255, allocations: 132.5 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3256, allocations: 60.97 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.3256, allocations: 35.47 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3258, allocations: 321.6 kB / 0.5363 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.3259, allocations: 35.23 kB / 0.5363 GB, free: 8.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.326, allocations: 112 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3262, allocations: 154.3 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3262, allocations: 1.062 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000392/0.3266, allocations: 227.1 kB / 0.5368 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3266, allocations: 7 kB / 0.5368 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3266, allocations: 2.5 kB / 0.5368 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.3269, allocations: 48.94 kB / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.327, allocations: 36.14 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.3295, allocations: 3.003 MB / 0.5398 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.483e-05/0.3296, allocations: 20.23 kB / 0.5399 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3297, allocations: 6.594 kB / 0.5399 GB, free: 4.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.3298, allocations: 139.8 kB / 0.54 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.3299, allocations: 13 kB / 0.54 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.3299, allocations: 27.67 kB / 0.54 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3299, allocations: 1.75 kB / 0.54 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3299, allocations: 5.188 kB / 0.54 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3299, allocations: 1.062 kB / 0.54 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.3303, allocations: 227.2 kB / 0.5403 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3303, allocations: 1.188 kB / 0.5403 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3304, allocations: 26.11 kB / 0.5403 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.3306, allocations: 50.94 kB / 0.5403 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3306, allocations: 9.062 kB / 0.5403 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.333, allocations: 2.987 MB / 0.5433 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.333, allocations: 1.625 kB / 0.5433 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.3335, allocations: 379.8 kB / 0.5436 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.3336, allocations: 92.33 kB / 0.5437 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3336, allocations: 6.312 kB / 0.5437 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3337, allocations: 5.125 kB / 0.5437 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.3337, allocations: 13.17 kB / 0.5437 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3338, allocations: 6.969 kB / 0.5437 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.3338, allocations: 96.97 kB / 0.5438 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3338, allocations: 0 / 0.5438 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004669/0.3343, allocations: 59.02 kB / 0.5439 GB, free: 0.8203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008223/0.3352, allocations: 0.8963 MB / 0.5448 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.3358, allocations: 356.5 kB / 0.5451 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3358, allocations: 1.25 kB / 0.5451 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.3362, allocations: 282.9 kB / 0.5454 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.3367, allocations: 35.89 kB / 0.5454 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.3396, allocations: 2.324 MB / 0.5477 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3401, allocations: 0.7257 MB / 0.5484 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.3402, allocations: 14.73 kB / 0.5484 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.3403, allocations: 41.67 kB / 0.5484 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3403, allocations: 3.938 kB / 0.5485 GB, free: 12.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.3763, allocations: 3.756 MB / 0.5521 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.7, allocations: 8.812 kB / 0.5521 GB, free: 10.53 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches