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.001664/0.001664, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002423/0.002423, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.516/1.516, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2365/0.2365, allocations: 46.91 MB / 357.4 MB, free: 10.46 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.002236/0.002236, allocations: 79.86 kB / 0.4912 GB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1391, allocations: 65.99 MB / 0.5557 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003174/0.1422, allocations: 1.869 MB / 0.5575 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.1426, allocations: 151.4 kB / 0.5576 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.1427, allocations: 4 kB / 0.5576 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.138e-05/0.1428, allocations: 23.78 kB / 0.5577 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.1429, allocations: 55.48 kB / 0.5577 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1431, allocations: 39.95 kB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1433, allocations: 183.1 kB / 0.5579 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1434, allocations: 41.53 kB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1435, allocations: 75.72 kB / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1437, allocations: 75.64 kB / 0.5581 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.1437, allocations: 12 kB / 0.5581 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.1437, allocations: 16 kB / 0.5581 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.1438, allocations: 31.91 kB / 0.5582 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.829e-05/0.1439, allocations: 87.59 kB / 0.5583 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1441, allocations: 175.3 kB / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1441, allocations: 0 / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1441, allocations: 0 / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1441, allocations: 3.938 kB / 0.5584 GB, free: 3.207 MB / 414.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.0006392/0.1447, allocations: 471 kB / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1448, allocations: 8.031 kB / 0.5589 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.1449, allocations: 50.73 kB / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1449, allocations: 20.84 kB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1451, allocations: 204.2 kB / 0.5592 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1451, allocations: 12.7 kB / 0.5592 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1452, allocations: 20.33 kB / 0.5592 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.1455, allocations: 170.2 kB / 0.5593 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1455, allocations: 3.938 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1455, allocations: 15.94 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1455, allocations: 4 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1457, allocations: 79.95 kB / 0.5594 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.1465, allocations: 0.6112 MB / 0.56 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1468, allocations: 129.1 kB / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.1468, allocations: 49.7 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1468, allocations: 4 kB / 0.5602 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1469, allocations: 30.56 kB / 0.5602 GB, free: 1.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1469, allocations: 4 kB / 0.5602 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008223/0.1477, allocations: 377.5 kB / 0.5606 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1478, allocations: 85.42 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.1479, allocations: 127.1 kB / 0.5608 GB, free: 496 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1479, allocations: 33.7 kB / 0.5608 GB, free: 456 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.148, allocations: 128.2 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.148, allocations: 67.41 kB / 0.561 GB, free: 256 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.1481, allocations: 37.7 kB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1483, allocations: 322.8 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.1483, allocations: 39.98 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1484, allocations: 104.6 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1486, allocations: 148.4 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1486, allocations: 7.984 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003734/0.149, allocations: 219 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.149, allocations: 11.94 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.149, allocations: 0 / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.1493, allocations: 53.94 kB / 0.5619 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1494, allocations: 43.92 kB / 0.562 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.1519, allocations: 2.991 MB / 0.5649 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.618e-05/0.152, allocations: 15.89 kB / 0.5649 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.152, allocations: 8 kB / 0.5649 GB, free: 11.89 MB / 430.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.0001319/0.1521, allocations: 133.7 kB / 0.565 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.1522, allocations: 15.91 kB / 0.5651 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1522, allocations: 16.66 kB / 0.5651 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.1522, allocations: 8.062 kB / 0.5651 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1522, allocations: 0 / 0.5651 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1522, allocations: 3.984 kB / 0.5651 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1526, allocations: 229.6 kB / 0.5653 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1526, allocations: 0 / 0.5653 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1527, allocations: 23.98 kB / 0.5653 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.1529, allocations: 49.69 kB / 0.5654 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1529, allocations: 8.031 kB / 0.5654 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.1553, allocations: 2.99 MB / 0.5683 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1553, allocations: 4.062 kB / 0.5683 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.1557, allocations: 376.4 kB / 0.5687 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.1558, allocations: 85 kB / 0.5688 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1558, allocations: 8.062 kB / 0.5688 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1559, allocations: 7.938 kB / 0.5688 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.156, allocations: 15.98 kB / 0.5688 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.156, allocations: 3.984 kB / 0.5688 GB, free: 7.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.156, allocations: 96.95 kB / 0.5689 GB, free: 7.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.156, allocations: 4 kB / 0.5689 GB, free: 7.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.1565, allocations: 51.95 kB / 0.5689 GB, free: 7.402 MB / 430.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.0008256/0.1573, allocations: 0.9067 MB / 0.5698 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006218/0.1579, allocations: 353.5 kB / 0.5702 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1579, allocations: 0 / 0.5702 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.1583, allocations: 277.3 kB / 0.5704 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1588, allocations: 31 kB / 0.5704 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.1617, allocations: 2.325 MB / 0.5727 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1621, allocations: 0.7242 MB / 0.5734 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.1621, allocations: 13.42 kB / 0.5734 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.1622, allocations: 35.44 kB / 0.5735 GB, free: 2.484 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1622, allocations: 4 kB / 0.5735 GB, free: 2.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.1936, allocations: 3.807 MB / 0.5772 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.69, allocations: 7.922 kB / 0.5772 GB, free: 14.83 MB / 446.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.887406057678163]