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.001417/0.001417, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001759/0.001759, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 75.88 kB / 480.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3472, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003121/0.3504, allocations: 1.869 MB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.3508, allocations: 154.7 kB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.3509, allocations: 3.75 kB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.678e-05/0.3509, allocations: 21.62 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3511, allocations: 56.48 kB / 0.5325 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.3513, allocations: 28.41 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3515, allocations: 185.2 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3517, allocations: 68.2 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.3517, allocations: 70.33 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3519, allocations: 72.8 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.3519, allocations: 12.5 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.67e-05/0.3519, allocations: 14.72 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.352, allocations: 41.17 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.3521, allocations: 82.8 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.3523, allocations: 174.5 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3523, allocations: 4 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3523, allocations: 1.375 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3523, allocations: 0 / 0.5333 GB, free: 11.3 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.0005853/0.3529, allocations: 452.9 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.353, allocations: 9.625 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.353, allocations: 48.23 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3531, allocations: 26.27 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3533, allocations: 215 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3533, allocations: 19.52 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3534, allocations: 15.38 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.3537, allocations: 165.3 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3537, allocations: 5.312 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3537, allocations: 9.375 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3537, allocations: 4.125 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3539, allocations: 86.64 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.3547, allocations: 0.6075 MB / 0.5349 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.3549, allocations: 133.5 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.355, allocations: 48.02 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.355, allocations: 6.5 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.355, allocations: 35.84 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.355, allocations: 0 / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007756/0.3558, allocations: 380.3 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3559, allocations: 79.7 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.356, allocations: 133.4 kB / 0.5356 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.356, allocations: 26.83 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.3561, allocations: 132 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.3561, allocations: 61.47 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.3562, allocations: 42.39 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3563, allocations: 322.1 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.3564, allocations: 39.39 kB / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3565, allocations: 107.1 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3567, allocations: 150.9 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3567, allocations: 1.062 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003748/0.3571, allocations: 234.3 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3571, allocations: 6.875 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3571, allocations: 3 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.3574, allocations: 52.84 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3575, allocations: 36.92 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.3596, allocations: 2.982 MB / 0.5397 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3598, allocations: 15.62 kB / 0.5397 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3598, allocations: 10.86 kB / 0.5397 GB, free: 4.98 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.0001393/0.3599, allocations: 138.6 kB / 0.5399 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.36, allocations: 9.781 kB / 0.5399 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.36, allocations: 22.81 kB / 0.5399 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3601, allocations: 3 kB / 0.5399 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.3601, allocations: 1.25 kB / 0.5399 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3601, allocations: 0 / 0.5399 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.3604, allocations: 239.7 kB / 0.5401 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3604, allocations: 0 / 0.5401 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3606, allocations: 25.95 kB / 0.5402 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.3607, allocations: 55.69 kB / 0.5402 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3607, allocations: 5.219 kB / 0.5402 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.3627, allocations: 2.983 MB / 0.5431 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3627, allocations: 0 / 0.5431 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.3631, allocations: 381.1 kB / 0.5435 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.3632, allocations: 83.67 kB / 0.5436 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3632, allocations: 2.188 kB / 0.5436 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3633, allocations: 9.25 kB / 0.5436 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.3634, allocations: 13.02 kB / 0.5436 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3634, allocations: 7.812 kB / 0.5436 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.49e-05/0.3635, allocations: 101.1 kB / 0.5437 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3635, allocations: 0 / 0.5437 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.364, allocations: 58.62 kB / 0.5438 GB, free: 0.9258 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.0006924/0.3647, allocations: 0.904 MB / 0.5446 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.3653, allocations: 356.9 kB / 0.545 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3653, allocations: 0 / 0.545 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.3656, allocations: 279.8 kB / 0.5453 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.3661, allocations: 33.44 kB / 0.5453 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.3687, allocations: 2.328 MB / 0.5476 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.369, allocations: 0.7218 MB / 0.5483 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.3691, allocations: 14.72 kB / 0.5483 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.3691, allocations: 41.33 kB / 0.5483 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3692, allocations: 0 / 0.5483 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3968, allocations: 3.825 MB / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.786/10.18, allocations: 0 / 0.552 GB, free: 10.62 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