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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00211/0.00211, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.95 MB / 360.8 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 83.81 kB / 0.4961 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3307, allocations: 66.08 MB / 0.5607 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003017/0.3337, allocations: 1.781 MB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.334, allocations: 151.4 kB / 0.5626 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.3341, allocations: 4 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.861e-05/0.3342, allocations: 19.78 kB / 0.5626 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3343, allocations: 59.42 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.3344, allocations: 35.97 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.3346, allocations: 195 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3348, allocations: 37.72 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.3349, allocations: 67.8 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.335, allocations: 63.69 kB / 0.563 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.335, allocations: 16 kB / 0.563 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.418e-05/0.335, allocations: 16 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.3351, allocations: 35.84 kB / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.3351, allocations: 63.73 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3354, allocations: 189.1 kB / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3354, allocations: 0 / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3354, allocations: 7.938 kB / 0.5633 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3354, allocations: 4 kB / 0.5633 GB, free: 1.203 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.0005963/0.336, allocations: 373.9 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.336, allocations: 12.03 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.3361, allocations: 50.73 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.3361, allocations: 20.83 kB / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3363, allocations: 142.3 kB / 0.5639 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3364, allocations: 12.7 kB / 0.5639 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.3364, allocations: 24.33 kB / 0.5639 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3367, allocations: 170.2 kB / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3367, allocations: 3.938 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3367, allocations: 4 kB / 0.5641 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3367, allocations: 7.984 kB / 0.5641 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3369, allocations: 93.2 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.3377, allocations: 0.5229 MB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.338, allocations: 121.2 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.3381, allocations: 45.7 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3381, allocations: 4 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3381, allocations: 38.56 kB / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.3381, allocations: 0 / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007185/0.3388, allocations: 223.5 kB / 0.5651 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3389, allocations: 85.11 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.339, allocations: 138 kB / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.339, allocations: 25.7 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3392, allocations: 136.2 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3392, allocations: 51.55 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.3393, allocations: 41.7 kB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3394, allocations: 318.8 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.3395, allocations: 35.98 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3396, allocations: 104.6 kB / 0.566 GB, free: 14.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.3399, allocations: 160.6 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3399, allocations: 3.938 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003776/0.3402, allocations: 231 kB / 0.5664 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3402, allocations: 4 kB / 0.5664 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3403, allocations: 4 kB / 0.5664 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.3405, allocations: 53.69 kB / 0.5665 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3406, allocations: 35.92 kB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.343, allocations: 2.779 MB / 0.5692 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.3431, allocations: 19.92 kB / 0.5692 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3431, allocations: 4 kB / 0.5692 GB, free: 10.62 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.000136/0.3433, allocations: 129.8 kB / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.3433, allocations: 20.12 kB / 0.5694 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.3434, allocations: 24.64 kB / 0.5694 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3434, allocations: 0 / 0.5694 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3434, allocations: 0 / 0.5694 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3434, allocations: 4.188 kB / 0.5694 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3437, allocations: 188.6 kB / 0.5696 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3437, allocations: 3.938 kB / 0.5696 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3438, allocations: 31.98 kB / 0.5696 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.344, allocations: 41.7 kB / 0.5697 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.344, allocations: 7.938 kB / 0.5697 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.3464, allocations: 2.772 MB / 0.5724 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3464, allocations: 4.031 kB / 0.5724 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.3468, allocations: 376.6 kB / 0.5727 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.3468, allocations: 11.89 kB / 0.5727 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3469, allocations: 12.05 kB / 0.5728 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.347, allocations: 3.938 kB / 0.5728 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.347, allocations: 11.98 kB / 0.5728 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.347, allocations: 4 kB / 0.5728 GB, free: 6.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.3471, allocations: 101.8 kB / 0.5729 GB, free: 6.586 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3471, allocations: 0 / 0.5729 GB, free: 6.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.3475, allocations: 55.89 kB / 0.5729 GB, free: 6.531 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.0008174/0.3484, allocations: 0.8994 MB / 0.5738 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.349, allocations: 352.6 kB / 0.5741 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.349, allocations: 0 / 0.5741 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.3494, allocations: 277.8 kB / 0.5744 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.3499, allocations: 32.23 kB / 0.5744 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.353, allocations: 2.329 MB / 0.5767 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.3532, allocations: 112.1 kB / 0.5768 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.3532, allocations: 13.42 kB / 0.5768 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.3533, allocations: 39.42 kB / 0.5769 GB, free: 2.242 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3533, allocations: 0 / 0.5769 GB, free: 2.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/0.3977, allocations: 4.417 MB / 0.5812 GB, free: 13.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 14.95 kB / 0.5812 GB, free: 13.95 MB / 430.1 MB " [Timeout remaining time 648] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.738545441068709]