Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_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.00146/0.00146, allocations: 104 kB / 16.27 MB, free: 6.043 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.001586/0.001586, allocations: 190.8 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 70.52 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07623/0.07763, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002338/0.07999, allocations: 1.851 MB / 442.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003191/0.08033, allocations: 151.4 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.08043, allocations: 4 kB / 442.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.56e-05/0.08049, allocations: 19.73 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.08063, allocations: 55.55 kB / 442.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.08076, allocations: 39.94 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.08089, allocations: 183.1 kB / 442.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.08103, allocations: 53.81 kB / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.08111, allocations: 67.77 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.08119, allocations: 75.64 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.08122, allocations: 16 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.08125, allocations: 12 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.08128, allocations: 31.92 kB / 443.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.08134, allocations: 83.59 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.08148, allocations: 183.3 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.08149, allocations: 4 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0815, allocations: 3.938 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.0815, allocations: 0 / 443.4 MB, free: 3.992 MB / 318.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.0004092/0.08192, allocations: 459.2 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.08196, allocations: 11.89 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.082, allocations: 54.67 kB / 443.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.08204, allocations: 16.75 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.08218, allocations: 208.1 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.0822, allocations: 16.7 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.08223, allocations: 12.38 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.08243, allocations: 174.1 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.08246, allocations: 7.844 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.08247, allocations: 12 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.08248, allocations: 4 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.08261, allocations: 87.94 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.08318, allocations: 0.6111 MB / 445.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.08334, allocations: 133.2 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.08341, allocations: 49.7 kB / 445.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.08342, allocations: 0 / 445.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.08344, allocations: 38.56 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 9.51e-07/0.08345, allocations: 192 / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006179/0.08407, allocations: 385.2 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.0841, allocations: 77.11 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.08418, allocations: 133.5 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.0842, allocations: 29.7 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.08424, allocations: 132 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.08427, allocations: 55.2 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.08432, allocations: 37.7 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.08436, allocations: 323.2 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.08442, allocations: 35.98 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.08448, allocations: 114.6 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.08461, allocations: 156.3 kB / 446.7 MB, free: 320 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.08462, allocations: 0 / 446.7 MB, free: 320 kB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002688/0.08489, allocations: 223.1 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.08491, allocations: 8 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.08493, allocations: 0 / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.0851, allocations: 49.69 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.08524, allocations: 39.86 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.08735, allocations: 3.002 MB / 450.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.08744, allocations: 15.84 kB / 450.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.08746, allocations: 8 kB / 450.1 MB, free: 12.68 MB / 334.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 8.91e-05/0.08755, allocations: 130.9 kB / 450.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.0876, allocations: 11.97 kB / 450.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.08764, allocations: 24.64 kB / 450.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.08765, allocations: 4 kB / 450.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.08766, allocations: 0 / 450.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.08767, allocations: 0 / 450.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.08793, allocations: 233.5 kB / 450.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.08794, allocations: 4.094 kB / 450.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.08807, allocations: 23.98 kB / 450.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.08821, allocations: 61.61 kB / 450.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.08823, allocations: 3.938 kB / 450.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.08993, allocations: 2.982 MB / 453.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.08994, allocations: 0 / 453.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.09028, allocations: 377.6 kB / 453.9 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.09033, allocations: 93.03 kB / 454 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.09035, allocations: 8 kB / 454 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.09046, allocations: 3.938 kB / 454 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.09049, allocations: 11.98 kB / 454 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.0905, allocations: 8 kB / 454 MB, free: 8.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.09056, allocations: 99.27 kB / 454.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09056, allocations: 0 / 454.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000406/0.09097, allocations: 55.84 kB / 454.2 MB, free: 8.18 MB / 334.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.0005517/0.09153, allocations: 0.8929 MB / 455.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.092, allocations: 353.2 kB / 455.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.09202, allocations: 4 kB / 455.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.0923, allocations: 285.8 kB / 455.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.09273, allocations: 32.11 kB / 455.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.09488, allocations: 2.33 MB / 458.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.09512, allocations: 0.7203 MB / 458.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.09517, allocations: 21.36 kB / 458.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.09523, allocations: 43.42 kB / 458.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.09524, allocations: 0 / 458.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/1.496, allocations: 3.659 MB / 462.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.6, allocations: 11.81 kB / 462.5 MB, free: 15.61 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches