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.001717/0.001717, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002392/0.002392, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.566/1.566, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2684/0.2684, allocations: 46.94 MB / 361.6 MB, free: 3.934 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002935/0.002935, allocations: 75.88 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3982, allocations: 66.08 MB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003949/0.4022, allocations: 1.782 MB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004622/0.4026, allocations: 143.5 kB / 0.5633 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.4027, allocations: 7.938 kB / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.882e-05/0.4028, allocations: 23.78 kB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.403, allocations: 55.48 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.4032, allocations: 39.95 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.4035, allocations: 191.1 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.4037, allocations: 41.67 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.4038, allocations: 71.78 kB / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4039, allocations: 71.69 kB / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.404, allocations: 12 kB / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.404, allocations: 16 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.4041, allocations: 35.86 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.4041, allocations: 71.72 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.4044, allocations: 189 kB / 0.5641 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4044, allocations: 0 / 0.5641 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4044, allocations: 0 / 0.5641 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.4044, allocations: 4 kB / 0.5641 GB, free: 1.305 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.0006454/0.4051, allocations: 381.9 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4051, allocations: 8.031 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.746e-05/0.4051, allocations: 4.516 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.4052, allocations: 50.73 kB / 0.5645 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.4052, allocations: 20.84 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.4055, allocations: 150.3 kB / 0.5647 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4055, allocations: 8.703 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.4055, allocations: 24.33 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.4058, allocations: 170 kB / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4059, allocations: 3.984 kB / 0.5649 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4059, allocations: 8 kB / 0.5649 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4059, allocations: 4 kB / 0.5649 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.4061, allocations: 89.2 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.407, allocations: 0.5229 MB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.4073, allocations: 121.2 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.4074, allocations: 45.7 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.4074, allocations: 0 / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.4074, allocations: 46.55 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4074, allocations: 0 / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000838/0.4083, allocations: 223.2 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.4083, allocations: 81.11 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4085, allocations: 136.7 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4085, allocations: 25.7 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4086, allocations: 136.2 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.4087, allocations: 67.41 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.4087, allocations: 37.7 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4089, allocations: 322.8 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.409, allocations: 35.98 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4091, allocations: 100.6 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.4093, allocations: 160.5 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4093, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003891/0.4097, allocations: 219.1 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4097, allocations: 8 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.4097, allocations: 4 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.41, allocations: 49.69 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4101, allocations: 40.39 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.4127, allocations: 2.776 MB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.4128, allocations: 15.89 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4128, allocations: 8 kB / 0.57 GB, free: 10.72 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.0001566/0.413, allocations: 133.8 kB / 0.5701 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.413, allocations: 28 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.4131, allocations: 12.72 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4131, allocations: 4 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4131, allocations: 0 / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4131, allocations: 0 / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.4134, allocations: 196.6 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4134, allocations: 0 / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.4136, allocations: 23.98 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.4137, allocations: 53.64 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4138, allocations: 3.984 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.4163, allocations: 2.768 MB / 0.5731 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4163, allocations: 0 / 0.5731 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.4169, allocations: 380.1 kB / 0.5735 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.4169, allocations: 19.88 kB / 0.5735 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4169, allocations: 8 kB / 0.5735 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.417, allocations: 4 kB / 0.5735 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.4171, allocations: 11.98 kB / 0.5735 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.4171, allocations: 4 kB / 0.5735 GB, free: 6.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.4172, allocations: 99.25 kB / 0.5736 GB, free: 6.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4172, allocations: 3.938 kB / 0.5736 GB, free: 6.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004994/0.4177, allocations: 55.89 kB / 0.5737 GB, free: 6.625 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.0008058/0.4185, allocations: 0.8956 MB / 0.5746 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.4191, allocations: 345.2 kB / 0.5749 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.4191, allocations: 0 / 0.5749 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.4195, allocations: 282 kB / 0.5752 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.42, allocations: 44.02 kB / 0.5752 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.4231, allocations: 2.33 MB / 0.5775 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4232, allocations: 116.1 kB / 0.5776 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.4233, allocations: 13.42 kB / 0.5776 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.4233, allocations: 39.42 kB / 0.5776 GB, free: 2.324 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4233, allocations: 0 / 0.5776 GB, free: 2.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.4577, allocations: 4.132 MB / 0.5817 GB, free: 14.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.92, allocations: 1.312 kB / 0.5817 GB, free: 14.34 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.23390035307966]