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.001831/0.001831, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.002334/0.002334, allocations: 213.1 kB / 24.53 MB, free: 4.129 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 8 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.2566/0.2566, allocations: 46.93 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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.002099/0.002099, allocations: 71.89 kB / 0.4969 GB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 66.03 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003494/0.3565, allocations: 1.88 MB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000431/0.357, allocations: 147.4 kB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.357, allocations: 7.938 kB / 0.5634 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.143e-05/0.3571, allocations: 19.8 kB / 0.5634 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3573, allocations: 51.55 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.3574, allocations: 47.88 kB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.3577, allocations: 183.2 kB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3579, allocations: 43.95 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.358, allocations: 71.72 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.3582, allocations: 75.64 kB / 0.5639 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3582, allocations: 16 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.074e-05/0.3582, allocations: 16 kB / 0.5639 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.3583, allocations: 31.91 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3584, allocations: 83.59 kB / 0.564 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3586, allocations: 181.1 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3586, allocations: 4 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3586, allocations: 0 / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.3587, allocations: 3.984 kB / 0.5642 GB, free: 1.637 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.0006522/0.3593, allocations: 374 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3594, allocations: 8.031 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.3594, allocations: 12.39 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.435e-05/0.3595, allocations: 54.73 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.3595, allocations: 16.84 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3597, allocations: 154.3 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3597, allocations: 12.7 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3598, allocations: 20.33 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.3601, allocations: 169.9 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3601, allocations: 0 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3602, allocations: 8 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3602, allocations: 4 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3604, allocations: 91.88 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.3613, allocations: 0.554 MB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.3616, allocations: 121.3 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.3616, allocations: 57.83 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.3617, allocations: 0 / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3617, allocations: 34.56 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.3617, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007805/0.3625, allocations: 227 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.3625, allocations: 81.11 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3627, allocations: 128.8 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3627, allocations: 29.7 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.3628, allocations: 128.2 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.3629, allocations: 71.38 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.3629, allocations: 33.72 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3631, allocations: 322.8 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.3632, allocations: 39.98 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3633, allocations: 104.5 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3635, allocations: 156.5 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3635, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00041/0.3639, allocations: 222.9 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.364, allocations: 12.23 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.364, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.3642, allocations: 49.64 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3644, allocations: 36.39 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.3669, allocations: 2.787 MB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.367, allocations: 15.89 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.367, allocations: 8 kB / 0.5701 GB, free: 11.01 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.0001411/0.3672, allocations: 133.9 kB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.3672, allocations: 19.78 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3673, allocations: 24.64 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3673, allocations: 4 kB / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3673, allocations: 0 / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3673, allocations: 0 / 0.5703 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.3676, allocations: 204.6 kB / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3676, allocations: 0 / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3678, allocations: 23.98 kB / 0.5705 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/0.3679, allocations: 57.62 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3679, allocations: 4 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.3704, allocations: 2.775 MB / 0.5733 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3704, allocations: 0 / 0.5733 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.3708, allocations: 372.5 kB / 0.5736 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.3709, allocations: 15.95 kB / 0.5737 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3709, allocations: 3.938 kB / 0.5737 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.371, allocations: 8 kB / 0.5737 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.371, allocations: 16 kB / 0.5737 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.371, allocations: 4 kB / 0.5737 GB, free: 7.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.587e-05/0.3711, allocations: 99.27 kB / 0.5738 GB, free: 6.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3711, allocations: 4 kB / 0.5738 GB, free: 6.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.3716, allocations: 51.89 kB / 0.5738 GB, free: 6.898 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.0008537/0.3724, allocations: 0.9007 MB / 0.5747 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.3731, allocations: 341.3 kB / 0.575 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3731, allocations: 0 / 0.575 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.3735, allocations: 285.7 kB / 0.5753 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.3741, allocations: 35.8 kB / 0.5753 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.3772, allocations: 2.339 MB / 0.5776 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3776, allocations: 0.7242 MB / 0.5783 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.3777, allocations: 9.422 kB / 0.5783 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.3777, allocations: 43.42 kB / 0.5784 GB, free: 1.973 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3777, allocations: 0 / 0.5784 GB, free: 1.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4084, allocations: 3.974 MB / 0.5823 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.75, allocations: 10.56 kB / 0.5823 GB, free: 14.15 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.093204725999385]