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.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.0009101/0.0009101, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008492/0.0008492, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9101/0.9101, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.429e-05, allocations: 6.219 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002472/0.002496, allocations: 1.786 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.002763, allocations: 151.5 kB / 408.7 MB, free: 332 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.002827, allocations: 3.938 kB / 408.8 MB, free: 328 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.247e-05/0.00288, allocations: 23.78 kB / 408.8 MB, free: 304 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.002979, allocations: 55.5 kB / 408.8 MB, free: 248 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.003095, allocations: 35.94 kB / 408.9 MB, free: 212 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.003232, allocations: 195 kB / 409.1 MB, free: 16 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.003375, allocations: 37.8 kB / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003481, allocations: 111.7 kB / 409.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.003565, allocations: 51.81 kB / 409.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.003593, allocations: 12 kB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.00361, allocations: 16 kB / 409.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.003637, allocations: 31.91 kB / 409.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.003683, allocations: 63.83 kB / 409.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.003849, allocations: 183.4 kB / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003852, allocations: 3.938 kB / 409.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003853, allocations: 0 / 409.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003857, allocations: 4 kB / 409.6 MB, free: 15.51 MB / 394.7 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.0003763/0.004234, allocations: 374 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004269, allocations: 12.03 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.004306, allocations: 46.73 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.004336, allocations: 20.8 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.004479, allocations: 153.5 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.004492, allocations: 12.7 kB / 410.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.004519, allocations: 16.38 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.004717, allocations: 178 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.004728, allocations: 4.188 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.004742, allocations: 8.375 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.004749, allocations: 8.125 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.004855, allocations: 87.95 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.005373, allocations: 0.5267 MB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.005527, allocations: 129.1 kB / 411.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.005582, allocations: 49.7 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.005594, allocations: 7.984 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.005613, allocations: 30.56 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.005614, allocations: 4 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.000439/0.006053, allocations: 223.2 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.006087, allocations: 85.05 kB / 411.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.006166, allocations: 134.1 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.006177, allocations: 29.7 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.006227, allocations: 124.3 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.006255, allocations: 55.48 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.006294, allocations: 41.7 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.006367, allocations: 318.8 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.006411, allocations: 39.98 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.006484, allocations: 108.4 kB / 412.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.006614, allocations: 156.8 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006616, allocations: 3.938 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002272/0.006843, allocations: 227.1 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.006857, allocations: 4 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.006863, allocations: 4 kB / 412.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.00701, allocations: 49.69 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.007097, allocations: 39.92 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.00878, allocations: 2.764 MB / 415.6 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.008836, allocations: 23.88 kB / 415.6 MB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008844, allocations: 7.938 kB / 415.6 MB, free: 8.918 MB / 394.7 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.7e-05/0.008931, allocations: 137.7 kB / 415.7 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.008956, allocations: 11.95 kB / 415.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.008974, allocations: 16.94 kB / 415.8 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008975, allocations: 4 kB / 415.8 MB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.008982, allocations: 3.938 kB / 415.8 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.008987, allocations: 4 kB / 415.8 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.009164, allocations: 192.6 kB / 416 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009165, allocations: 0 / 416 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.009251, allocations: 27.98 kB / 416 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.018e-05/0.009341, allocations: 49.67 kB / 416 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.009353, allocations: 11.98 kB / 416.1 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.01052, allocations: 2.763 MB / 418.8 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01053, allocations: 7.969 kB / 418.8 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.01078, allocations: 368.6 kB / 419.2 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.01079, allocations: 15.94 kB / 419.2 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.0108, allocations: 8.062 kB / 419.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.01085, allocations: 0 / 419.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.01088, allocations: 15.92 kB / 419.2 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.01088, allocations: 4 kB / 419.2 MB, free: 4.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.01092, allocations: 106.9 kB / 419.3 MB, free: 4.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01092, allocations: 0 / 419.3 MB, free: 4.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01121, allocations: 55.89 kB / 419.4 MB, free: 4.828 MB / 394.7 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.0004249/0.01163, allocations: 0.8969 MB / 420.3 MB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.01198, allocations: 357.3 kB / 420.6 MB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01198, allocations: 0 / 420.6 MB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.01214, allocations: 281.8 kB / 420.9 MB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.0125, allocations: 40.14 kB / 420.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.01433, allocations: 2.185 MB / 423.1 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.01441, allocations: 116.2 kB / 423.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.01444, allocations: 13.47 kB / 423.3 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.01449, allocations: 44.48 kB / 423.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01449, allocations: 0 / 423.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.04011, allocations: 4.566 MB / 427.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.719, allocations: 15.92 kB / 427.9 MB, free: 12.05 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.76096215005964]