Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001708/0.001708, 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.002052/0.002052, allocations: 214 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2448/0.2448, allocations: 46.93 MB / 360.8 MB, free: 4.195 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.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002589/0.002589, allocations: 75.88 kB / 0.4962 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.349, allocations: 66.08 MB / 0.5607 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00407/0.3531, allocations: 2.645 MB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3545, allocations: 0.744 MB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.3547, allocations: 15.88 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3549, allocations: 47.52 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3551, allocations: 83.2 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.3554, allocations: 95.88 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.3558, allocations: 342.5 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.356, allocations: 63.88 kB / 0.5646 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.3562, allocations: 143.5 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3564, allocations: 127.4 kB / 0.5649 GB, free: 32 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.3565, allocations: 24 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.3566, allocations: 27.98 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.3566, allocations: 55.77 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3568, allocations: 147.2 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.3572, allocations: 310.6 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3572, allocations: 4 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3572, allocations: 4 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3572, allocations: 0 / 0.5654 GB, free: 15.47 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009306/0.3581, allocations: 0.5168 MB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3582, allocations: 8.031 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.3582, allocations: 66.67 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.3585, allocations: 52.72 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3589, allocations: 210 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3589, allocations: 20.88 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.3589, allocations: 32.33 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.3594, allocations: 281.2 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3594, allocations: 3.953 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3595, allocations: 15.94 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3595, allocations: 8 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.3599, allocations: 187.7 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3616, allocations: 1.242 MB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.3621, allocations: 242.5 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.3623, allocations: 91.39 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3623, allocations: 4.156 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.3623, allocations: 46.53 kB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.3623, allocations: 0 / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002477/0.3648, allocations: 1.193 MB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.3649, allocations: 137.7 kB / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.3652, allocations: 229 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3652, allocations: 37.64 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3653, allocations: 180.6 kB / 0.5701 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3654, allocations: 119 kB / 0.5702 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3655, allocations: 70.12 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3657, allocations: 334.8 kB / 0.5706 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3659, allocations: 100.8 kB / 0.5707 GB, free: 9.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.3663, allocations: 241.4 kB / 0.5709 GB, free: 9.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006367/0.3669, allocations: 380.8 kB / 0.5713 GB, free: 8.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3669, allocations: 4 kB / 0.5713 GB, free: 8.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007926/0.3677, allocations: 397.2 kB / 0.5717 GB, free: 8.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3677, allocations: 10.03 kB / 0.5717 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3678, allocations: 4 kB / 0.5717 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.3678, allocations: 8 kB / 0.5717 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.3682, allocations: 99.81 kB / 0.5718 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.3682, allocations: 11.98 kB / 0.5718 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3684, allocations: 23.92 kB / 0.5718 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.3684, allocations: 20 kB / 0.5718 GB, free: 8.375 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.3686, allocations: 159 kB / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3687, allocations: 28.05 kB / 0.572 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.385e-05/0.3688, allocations: 37.7 kB / 0.5721 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3688, allocations: 7.984 kB / 0.5721 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3688, allocations: 0 / 0.5721 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3688, allocations: 3.984 kB / 0.5721 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3704, allocations: 0.9501 MB / 0.573 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.3704, allocations: 3.984 kB / 0.573 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.3708, allocations: 88.3 kB / 0.5731 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3708, allocations: 0 / 0.5731 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3708, allocations: 11.94 kB / 0.5731 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3708, allocations: 11.92 kB / 0.5731 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3708, allocations: 0 / 0.5731 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3719, allocations: 0.7334 MB / 0.5738 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.3719, allocations: 27.8 kB / 0.5739 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.372, allocations: 15.94 kB / 0.5739 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.3723, allocations: 19.98 kB / 0.5739 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.3723, allocations: 23.95 kB / 0.5739 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3724, allocations: 12 kB / 0.5739 GB, free: 6.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3725, allocations: 160.5 kB / 0.5741 GB, free: 5.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 0.5741 GB, free: 5.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.373, allocations: 68 kB / 0.5741 GB, free: 5.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.3744, allocations: 1.274 MB / 0.5754 GB, free: 4.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.3751, allocations: 272.2 kB / 0.5756 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3751, allocations: 0 / 0.5756 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.3753, allocations: 123.8 kB / 0.5758 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.376, allocations: 39.75 kB / 0.5758 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.381, allocations: 3.526 MB / 0.5792 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.3814, allocations: 0.7758 MB / 0.58 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3816, allocations: 34.95 kB / 0.58 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3817, allocations: 91.41 kB / 0.5801 GB, free: 15.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3817, allocations: 0 / 0.5801 GB, free: 15.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.4257, allocations: 5.732 MB / 0.5857 GB, free: 9.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.36, allocations: 18.66 kB / 0.5857 GB, free: 9.887 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.549075698945671]