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.001407/0.001407, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001568/0.001568, allocations: 203.8 kB / 23.72 MB, free: 4.391 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2261/0.2261, allocations: 46.96 MB / 360.8 MB, free: 3.996 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.002344/0.002344, allocations: 83.81 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3089, allocations: 66.09 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003938/0.3129, allocations: 2.482 MB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3142, allocations: 0.6857 MB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3143, allocations: 11.94 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3145, allocations: 55.45 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3147, allocations: 83.2 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.315, allocations: 103.8 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.3153, allocations: 334.5 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3155, allocations: 67.81 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3158, allocations: 139.6 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3159, allocations: 119.3 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.316, allocations: 24 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.3161, allocations: 24 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.3161, allocations: 55.78 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3163, allocations: 119.4 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.3166, allocations: 314.6 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3166, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3166, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3167, allocations: 0 / 0.5652 GB, free: 15.41 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.0009482/0.3176, allocations: 0.5284 MB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3176, allocations: 8.031 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.538e-05/0.3177, allocations: 62.72 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.3179, allocations: 48.73 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.3184, allocations: 217.9 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3184, allocations: 20.88 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.3184, allocations: 28.33 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.3189, allocations: 277.3 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.319, allocations: 15.89 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.319, allocations: 12 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.319, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.3194, allocations: 183.8 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3212, allocations: 1.188 MB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.3216, allocations: 242.3 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3218, allocations: 91.39 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3219, allocations: 11.92 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.3219, allocations: 46.62 kB / 0.568 GB, free: 12.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.3219, allocations: 0 / 0.568 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002661/0.3246, allocations: 1.201 MB / 0.5692 GB, free: 10.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.3247, allocations: 132.5 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.3249, allocations: 233 kB / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.325, allocations: 33.7 kB / 0.5696 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3251, allocations: 176.5 kB / 0.5698 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3252, allocations: 123 kB / 0.5699 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3253, allocations: 74.08 kB / 0.5699 GB, free: 10.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3255, allocations: 340 kB / 0.5703 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.3258, allocations: 104.8 kB / 0.5704 GB, free: 9.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.3261, allocations: 237.4 kB / 0.5706 GB, free: 9.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.3268, allocations: 373.4 kB / 0.571 GB, free: 8.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3268, allocations: 4 kB / 0.571 GB, free: 8.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007798/0.3276, allocations: 401.2 kB / 0.5713 GB, free: 8.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3276, allocations: 8.406 kB / 0.5714 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3276, allocations: 8 kB / 0.5714 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.3276, allocations: 8 kB / 0.5714 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.328, allocations: 99.88 kB / 0.5715 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.328, allocations: 7.938 kB / 0.5715 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3283, allocations: 27.97 kB / 0.5715 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3283, allocations: 16 kB / 0.5715 GB, free: 8.355 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.0001633/0.3284, allocations: 157.6 kB / 0.5717 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3285, allocations: 35.81 kB / 0.5717 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.3286, allocations: 33.7 kB / 0.5717 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3286, allocations: 4 kB / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3286, allocations: 4 kB / 0.5717 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3287, allocations: 0 / 0.5717 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3302, allocations: 0.9188 MB / 0.5726 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3302, allocations: 0 / 0.5726 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.3306, allocations: 79.89 kB / 0.5727 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3306, allocations: 4 kB / 0.5727 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3306, allocations: 15.92 kB / 0.5727 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3306, allocations: 0 / 0.5727 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3306, allocations: 7.938 kB / 0.5727 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3317, allocations: 0.7415 MB / 0.5735 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3317, allocations: 31.81 kB / 0.5735 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.3318, allocations: 11.94 kB / 0.5735 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.332, allocations: 15.98 kB / 0.5735 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.3321, allocations: 31.89 kB / 0.5735 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3321, allocations: 15.98 kB / 0.5736 GB, free: 6.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3323, allocations: 160.5 kB / 0.5737 GB, free: 6 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3323, allocations: 0 / 0.5737 GB, free: 6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004978/0.3328, allocations: 64 kB / 0.5738 GB, free: 5.938 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.001296/0.3341, allocations: 1.278 MB / 0.575 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.3347, allocations: 260.4 kB / 0.5753 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3347, allocations: 4.125 kB / 0.5753 GB, free: 4.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.335, allocations: 127.7 kB / 0.5754 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.3357, allocations: 38.88 kB / 0.5754 GB, free: 4.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.3402, allocations: 3.511 MB / 0.5789 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.3404, allocations: 172 kB / 0.579 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3405, allocations: 34.95 kB / 0.5791 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3407, allocations: 95.41 kB / 0.5792 GB, free: 160 kB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3407, allocations: 0 / 0.5792 GB, free: 160 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.3738, allocations: 6.019 MB / 0.585 GB, free: 10.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.49, allocations: 3.938 kB / 0.585 GB, free: 10.26 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: 14.394538165070117]