Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.001227/0.001227, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001237/0.001236, allocations: 187.1 kB / 18.71 MB, free: 4.348 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.522/1.522, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2204/0.2204, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3624, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003428/0.3658, allocations: 1.845 MB / 0.5202 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003752/0.3662, allocations: 158.8 kB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.3663, allocations: 3.75 kB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.79e-05/0.3664, allocations: 19.53 kB / 0.5204 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.3666, allocations: 56.91 kB / 0.5204 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.3667, allocations: 35.94 kB / 0.5205 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3669, allocations: 184.2 kB / 0.5206 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3671, allocations: 57.27 kB / 0.5207 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.3672, allocations: 73.53 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3673, allocations: 71.55 kB / 0.5208 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.3674, allocations: 14.28 kB / 0.5208 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.3674, allocations: 14.25 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.3675, allocations: 34.22 kB / 0.5209 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.3675, allocations: 87.7 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3678, allocations: 178.4 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3678, allocations: 0 / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3678, allocations: 0 / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3678, allocations: 5.188 kB / 0.5212 GB, free: 1.453 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005628/0.3684, allocations: 448.4 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3685, allocations: 13.59 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.3685, allocations: 51.23 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.3686, allocations: 17.75 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3688, allocations: 205.8 kB / 0.5219 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3688, allocations: 14.48 kB / 0.5219 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.3689, allocations: 20.81 kB / 0.5219 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.3692, allocations: 168.8 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.3692, allocations: 5.734 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3692, allocations: 5.188 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3692, allocations: 4.688 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.3694, allocations: 91.77 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.3702, allocations: 0.6152 MB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3704, allocations: 128 kB / 0.5229 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.3705, allocations: 56.11 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.3705, allocations: 1.125 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3706, allocations: 37.23 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.053e-06/0.3706, allocations: 0 / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000815/0.3714, allocations: 380.7 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.3715, allocations: 79.98 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3716, allocations: 140.3 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.3717, allocations: 27.14 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3718, allocations: 125.4 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.3719, allocations: 54.5 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.3719, allocations: 41.44 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3721, allocations: 327.1 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.3722, allocations: 35.17 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3723, allocations: 111.5 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3725, allocations: 153.2 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3725, allocations: 5.281 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003727/0.3729, allocations: 228 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3729, allocations: 6.781 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3729, allocations: 2.766 kB / 0.5246 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.3732, allocations: 52.08 kB / 0.5247 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3733, allocations: 40.12 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.3757, allocations: 2.988 MB / 0.5276 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3759, allocations: 12.06 kB / 0.5276 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3759, allocations: 12.17 kB / 0.5276 GB, free: 11.46 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.0001229/0.376, allocations: 126.6 kB / 0.5278 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.3761, allocations: 9.5 kB / 0.5278 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.3761, allocations: 28.66 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3761, allocations: 3.062 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3762, allocations: 1.469 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3762, allocations: 2.391 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.3765, allocations: 228.2 kB / 0.528 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3765, allocations: 0 / 0.528 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3767, allocations: 34.83 kB / 0.528 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.3768, allocations: 49.58 kB / 0.5281 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3768, allocations: 14.44 kB / 0.5281 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.3789, allocations: 2.972 MB / 0.531 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3789, allocations: 1.375 kB / 0.531 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.3794, allocations: 375.8 kB / 0.5314 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.3794, allocations: 89.78 kB / 0.5315 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3795, allocations: 6.188 kB / 0.5315 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3796, allocations: 9.375 kB / 0.5315 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3796, allocations: 18.06 kB / 0.5315 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3796, allocations: 2.75 kB / 0.5315 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.933e-05/0.3797, allocations: 100.4 kB / 0.5316 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3797, allocations: 1.375 kB / 0.5316 GB, free: 7.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.3802, allocations: 54.47 kB / 0.5316 GB, free: 7.539 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.0007017/0.3809, allocations: 0.9006 MB / 0.5325 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.3815, allocations: 351.8 kB / 0.5329 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3816, allocations: 0 / 0.5329 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.3819, allocations: 287.4 kB / 0.5331 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.3824, allocations: 31 kB / 0.5332 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.3852, allocations: 2.318 MB / 0.5354 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3855, allocations: 0.7249 MB / 0.5361 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.3856, allocations: 14.95 kB / 0.5361 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.3857, allocations: 39.78 kB / 0.5362 GB, free: 3.488 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3857, allocations: 0 / 0.5362 GB, free: 3.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.4126, allocations: 3.821 MB / 0.5399 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.785/10.2, allocations: 17.47 kB / 0.5399 GB, free: 1.695 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches