Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.248/0.248, allocations: 46.96 MB / 361.7 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.91 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3865, allocations: 66.03 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003493/0.3899, allocations: 1.777 MB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003916/0.3903, allocations: 147.4 kB / 0.5632 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.3904, allocations: 4 kB / 0.5632 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.895e-05/0.3905, allocations: 19.73 kB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3906, allocations: 59.55 kB / 0.5633 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.3908, allocations: 43.88 kB / 0.5633 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.391, allocations: 183.1 kB / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.3912, allocations: 37.73 kB / 0.5635 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3913, allocations: 79.77 kB / 0.5636 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3914, allocations: 67.7 kB / 0.5637 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.3915, allocations: 12 kB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.32e-05/0.3915, allocations: 16 kB / 0.5637 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.3916, allocations: 31.86 kB / 0.5637 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.3916, allocations: 79.7 kB / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3919, allocations: 181 kB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3919, allocations: 4 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3919, allocations: 4 kB / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3919, allocations: 3.984 kB / 0.564 GB, free: 1.496 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.0006334/0.3926, allocations: 373.9 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3926, allocations: 12.03 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.861e-05/0.3926, allocations: 4.516 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.3927, allocations: 46.73 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.3927, allocations: 24.84 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.393, allocations: 150.3 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.393, allocations: 12.7 kB / 0.5646 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.393, allocations: 24.33 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.3934, allocations: 173.9 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3934, allocations: 0 / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3934, allocations: 8 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3934, allocations: 7.938 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.3936, allocations: 83.94 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.3945, allocations: 0.5307 MB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.3947, allocations: 125.2 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.3948, allocations: 45.7 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3948, allocations: 0 / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3949, allocations: 38.56 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.3949, allocations: 4.125 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007844/0.3957, allocations: 223 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3957, allocations: 81.11 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3959, allocations: 130.1 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.3959, allocations: 25.7 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.396, allocations: 132.2 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.396, allocations: 67.47 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.3961, allocations: 37.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3963, allocations: 326.8 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.3963, allocations: 35.98 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3965, allocations: 98.2 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3967, allocations: 160.8 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3967, allocations: 8 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003912/0.3971, allocations: 218.9 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3971, allocations: 8 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3971, allocations: 0 / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.3974, allocations: 49.95 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3975, allocations: 47.92 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.4001, allocations: 2.771 MB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.4002, allocations: 15.89 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4002, allocations: 8.219 kB / 0.5699 GB, free: 10.91 MB / 414.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.00014/0.4003, allocations: 137.7 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.4004, allocations: 15.84 kB / 0.5701 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.4004, allocations: 20.7 kB / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4004, allocations: 0 / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4004, allocations: 4 kB / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4004, allocations: 0 / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.4007, allocations: 192.6 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4007, allocations: 3.984 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.4009, allocations: 24 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.401, allocations: 57.61 kB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4011, allocations: 7.984 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.4034, allocations: 2.771 MB / 0.5731 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4034, allocations: 0 / 0.5731 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.4039, allocations: 376.3 kB / 0.5734 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.4039, allocations: 19.81 kB / 0.5734 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.4039, allocations: 8 kB / 0.5734 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4041, allocations: 0 / 0.5734 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.4041, allocations: 19.97 kB / 0.5735 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.4041, allocations: 0 / 0.5735 GB, free: 6.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.4042, allocations: 102.2 kB / 0.5736 GB, free: 6.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4042, allocations: 4.094 kB / 0.5736 GB, free: 6.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004693/0.4046, allocations: 55.89 kB / 0.5736 GB, free: 6.805 MB / 414.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.0008261/0.4055, allocations: 0.8999 MB / 0.5745 GB, free: 5.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.4061, allocations: 345.6 kB / 0.5748 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4061, allocations: 0 / 0.5748 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.4065, allocations: 285.2 kB / 0.5751 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.407, allocations: 32.17 kB / 0.5751 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.41, allocations: 2.334 MB / 0.5774 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.4102, allocations: 116.1 kB / 0.5775 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.4102, allocations: 9.422 kB / 0.5775 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.4103, allocations: 39.42 kB / 0.5776 GB, free: 2.508 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4103, allocations: 0 / 0.5776 GB, free: 2.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.4414, allocations: 4.13 MB / 0.5816 GB, free: 14.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.84, allocations: 9.031 kB / 0.5816 GB, free: 14.55 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.127490236074664]