Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001806/0.001806, allocations: 114 kB / 20.43 MB, free: 1.457 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.002121/0.002121, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.551/1.551, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.246/0.246, allocations: 46.92 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 179] 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.SupportTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 83.86 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3981, allocations: 66.08 MB / 0.5607 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004572/0.4027, allocations: 2.391 MB / 0.563 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4046, allocations: 0.9229 MB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.4048, allocations: 4 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.4052, allocations: 55.5 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.4055, allocations: 75.41 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.4059, allocations: 143.6 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.4064, allocations: 359.2 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.4066, allocations: 70.94 kB / 0.5646 GB, free: 288 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.407, allocations: 155.5 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.4073, allocations: 163.5 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.4074, allocations: 31.94 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.4076, allocations: 79.98 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4077, allocations: 83.73 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.4079, allocations: 143.3 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.4085, allocations: 386.5 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4085, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4085, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4085, allocations: 0 / 0.5656 GB, free: 15.26 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001029/0.4095, allocations: 0.5207 MB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4096, allocations: 8.031 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.34e-05/0.4096, allocations: 54.73 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.4098, allocations: 36.78 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.4102, allocations: 198.8 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.4103, allocations: 16.88 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4104, allocations: 24.38 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.4109, allocations: 276.1 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.411, allocations: 3.953 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.411, allocations: 8 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.411, allocations: 8 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.4115, allocations: 237.8 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.413, allocations: 0.6888 MB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.4136, allocations: 234.5 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.4139, allocations: 124.1 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.4139, allocations: 8 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.414, allocations: 38.5 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.414, allocations: 0 / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003279/0.4173, allocations: 1.2 MB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4173, allocations: 55.41 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.4176, allocations: 203.9 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.4176, allocations: 41.64 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4177, allocations: 136.8 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4178, allocations: 123 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.418, allocations: 69.69 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4181, allocations: 334.8 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.4184, allocations: 116 kB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.4187, allocations: 164.4 kB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.4191, allocations: 232 kB / 0.5706 GB, free: 9.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4191, allocations: 0 / 0.5706 GB, free: 9.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009123/0.4201, allocations: 430 kB / 0.571 GB, free: 9.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4201, allocations: 7.938 kB / 0.571 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4201, allocations: 4 kB / 0.571 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.4206, allocations: 196.7 kB / 0.5712 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4209, allocations: 59.95 kB / 0.5713 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/0.4217, allocations: 0.728 MB / 0.572 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.422, allocations: 35.98 kB / 0.572 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.422, allocations: 12 kB / 0.572 GB, free: 8.391 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.4222, allocations: 159.1 kB / 0.5722 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.4223, allocations: 27.86 kB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.26e-05/0.4224, allocations: 34.64 kB / 0.5722 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4224, allocations: 4 kB / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4224, allocations: 0 / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4224, allocations: 0 / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4242, allocations: 0.9119 MB / 0.5731 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4242, allocations: 0 / 0.5731 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.4244, allocations: 43.97 kB / 0.5732 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.4248, allocations: 176.7 kB / 0.5733 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.4248, allocations: 11.98 kB / 0.5734 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007169/0.4256, allocations: 0.6889 MB / 0.574 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4256, allocations: 3.938 kB / 0.574 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4268, allocations: 0.6076 MB / 0.5746 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4269, allocations: 59.78 kB / 0.5747 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.427, allocations: 8 kB / 0.5747 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4272, allocations: 39.95 kB / 0.5747 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4274, allocations: 43.91 kB / 0.5748 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.4274, allocations: 16.05 kB / 0.5748 GB, free: 5.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.4276, allocations: 152.2 kB / 0.5749 GB, free: 5.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4276, allocations: 0 / 0.5749 GB, free: 5.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.428, allocations: 75.94 kB / 0.575 GB, free: 5.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002778/0.4308, allocations: 1.394 MB / 0.5764 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.4316, allocations: 288.1 kB / 0.5766 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4317, allocations: 0 / 0.5766 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.432, allocations: 159.6 kB / 0.5768 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.4325, allocations: 43.77 kB / 0.5768 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.4382, allocations: 3.068 MB / 0.5798 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.4386, allocations: 0.7602 MB / 0.5806 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.4387, allocations: 30.27 kB / 0.5806 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4389, allocations: 75.41 kB / 0.5807 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4389, allocations: 0 / 0.5807 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.4817, allocations: 8.239 MB / 0.5887 GB, free: 7.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.7, allocations: 3.375 kB / 0.5887 GB, free: 7.184 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.98653615801595]