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.001738/0.001738, allocations: 117.2 kB / 20.44 MB, free: 1.297 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.002147/0.002147, allocations: 216.1 kB / 23.74 MB, free: 4.527 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2451/0.2451, allocations: 46.94 MB / 360.9 MB, free: 4.289 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 63.89 kB / 0.4961 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4214, allocations: 66.04 MB / 0.5606 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003425/0.4248, allocations: 1.872 MB / 0.5625 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.4253, allocations: 151.5 kB / 0.5626 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.4254, allocations: 11.88 kB / 0.5626 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.402e-05/0.4255, allocations: 19.78 kB / 0.5626 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.4256, allocations: 55.48 kB / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.4258, allocations: 31.97 kB / 0.5627 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.426, allocations: 187.2 kB / 0.5629 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.4262, allocations: 47.89 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4263, allocations: 71.78 kB / 0.563 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.4265, allocations: 75.69 kB / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.4265, allocations: 15.94 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.4265, allocations: 16 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.4266, allocations: 31.91 kB / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.4267, allocations: 83.61 kB / 0.5632 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.4269, allocations: 185.1 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4269, allocations: 0 / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4269, allocations: 0 / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.4269, allocations: 0 / 0.5634 GB, free: 1.504 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.0006209/0.4276, allocations: 381.9 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4276, allocations: 8.031 kB / 0.5638 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.4277, allocations: 54.73 kB / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.4277, allocations: 16.84 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.4279, allocations: 150.2 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.428, allocations: 16.7 kB / 0.564 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.428, allocations: 16.33 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4283, allocations: 170.2 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4283, allocations: 7.938 kB / 0.5642 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4283, allocations: 8 kB / 0.5642 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4283, allocations: 4 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.4285, allocations: 91.88 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.4294, allocations: 0.5501 MB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4297, allocations: 129.1 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.4297, allocations: 49.7 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4298, allocations: 4 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4298, allocations: 30.56 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.4298, allocations: 4 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007881/0.4306, allocations: 223.4 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4306, allocations: 81.11 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4308, allocations: 128.5 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4308, allocations: 29.7 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.4309, allocations: 132.1 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.4309, allocations: 63.47 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.431, allocations: 33.72 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4312, allocations: 326.8 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.4312, allocations: 39.98 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4314, allocations: 100.6 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4316, allocations: 156.4 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4316, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004157/0.432, allocations: 231.2 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.432, allocations: 11.98 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.432, allocations: 0 / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.4323, allocations: 45.95 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4324, allocations: 39.92 kB / 0.5666 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.435, allocations: 2.791 MB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4351, allocations: 19.86 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4351, allocations: 12 kB / 0.5694 GB, free: 10.87 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.0001377/0.4353, allocations: 129.7 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.4353, allocations: 15.91 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.4354, allocations: 20.64 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4354, allocations: 8.062 kB / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4354, allocations: 0 / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4354, allocations: 0 / 0.5695 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.4357, allocations: 200.6 kB / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4357, allocations: 0 / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4359, allocations: 27.98 kB / 0.5697 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001549/0.4361, allocations: 45.69 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.4361, allocations: 7.938 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.4385, allocations: 2.783 MB / 0.5725 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4385, allocations: 3.984 kB / 0.5725 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.439, allocations: 368.4 kB / 0.5729 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.439, allocations: 15.83 kB / 0.5729 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.439, allocations: 4 kB / 0.5729 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4391, allocations: 12.06 kB / 0.5729 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.4392, allocations: 11.97 kB / 0.5729 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4392, allocations: 4 kB / 0.5729 GB, free: 6.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.4393, allocations: 99.27 kB / 0.573 GB, free: 6.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4393, allocations: 0 / 0.573 GB, free: 6.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000484/0.4398, allocations: 55.89 kB / 0.5731 GB, free: 6.766 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.0008054/0.4406, allocations: 0.8964 MB / 0.5739 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006289/0.4412, allocations: 353.4 kB / 0.5743 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4412, allocations: 0 / 0.5743 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.4415, allocations: 281.3 kB / 0.5745 GB, free: 5.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.4421, allocations: 29.67 kB / 0.5746 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.4451, allocations: 2.334 MB / 0.5768 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4454, allocations: 0.7242 MB / 0.5776 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.4455, allocations: 9.422 kB / 0.5776 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.4456, allocations: 55.41 kB / 0.5776 GB, free: 1.84 MB / 414.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4456, allocations: 0 / 0.5776 GB, free: 1.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.4875, allocations: 3.932 MB / 0.5815 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.63, allocations: 7.812 kB / 0.5815 GB, free: 14.05 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: 15.769048172980547]