Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.0007682/0.0007682, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008002/0.0008002, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8244/0.8244, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 406.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.45e-05, allocations: 2.281 kB / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002588/0.002603, allocations: 2.463 MB / 409.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.003381, allocations: 0.667 MB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.00351, allocations: 11.88 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.003646, allocations: 43.53 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.003773, allocations: 95.14 kB / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.003995, allocations: 83.86 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.004268, allocations: 350.3 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.00443, allocations: 58.12 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.004608, allocations: 183.6 kB / 410.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.004713, allocations: 95.7 kB / 410.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.004747, allocations: 20 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.004772, allocations: 28 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.004809, allocations: 59.75 kB / 411 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.004873, allocations: 103.7 kB / 411.1 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.00512, allocations: 298.9 kB / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005122, allocations: 0 / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005123, allocations: 0 / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005127, allocations: 0 / 411.3 MB, free: 13.72 MB / 394.7 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.0008786/0.006006, allocations: 0.5207 MB / 411.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.006045, allocations: 8.031 kB / 411.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.006089, allocations: 58.73 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.006131, allocations: 32.75 kB / 412 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.006364, allocations: 205.1 kB / 412.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.006384, allocations: 20.81 kB / 412.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.00642, allocations: 24.38 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.006717, allocations: 281.7 kB / 412.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.006733, allocations: 12.14 kB / 412.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.006752, allocations: 16.12 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.006758, allocations: 4 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.006991, allocations: 187.7 kB / 412.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.007956, allocations: 1.189 MB / 413.9 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.008206, allocations: 238.3 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.008312, allocations: 95.39 kB / 414.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.008334, allocations: 4 kB / 414.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.008354, allocations: 46.62 kB / 414.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.008355, allocations: 4 kB / 414.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001546/0.009901, allocations: 1.195 MB / 415.5 MB, free: 9.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.009961, allocations: 144.4 kB / 415.6 MB, free: 9.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.01012, allocations: 225.8 kB / 415.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.01013, allocations: 33.7 kB / 415.9 MB, free: 8.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.01023, allocations: 176.7 kB / 416 MB, free: 8.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.0103, allocations: 123 kB / 416.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.01037, allocations: 70.16 kB / 416.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01048, allocations: 342.8 kB / 416.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.01063, allocations: 96.94 kB / 416.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.01082, allocations: 238.1 kB / 416.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.01118, allocations: 385 kB / 417.3 MB, free: 7.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01118, allocations: 4 kB / 417.3 MB, free: 7.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004434/0.01162, allocations: 385 kB / 417.6 MB, free: 6.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01164, allocations: 11.94 kB / 417.6 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01164, allocations: 4 kB / 417.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01166, allocations: 8 kB / 417.7 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.01185, allocations: 103.8 kB / 417.8 MB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01186, allocations: 4 kB / 417.8 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.01196, allocations: 36.16 kB / 417.8 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01198, allocations: 20 kB / 417.8 MB, free: 6.695 MB / 394.7 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 9.449e-05/0.01207, allocations: 145.8 kB / 418 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.01212, allocations: 35.75 kB / 418 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.01217, allocations: 33.77 kB / 418 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01217, allocations: 4 kB / 418 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01218, allocations: 0 / 418 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01218, allocations: 7.984 kB / 418 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.0133, allocations: 0.9224 MB / 419 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01331, allocations: 0 / 419 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.01348, allocations: 80.33 kB / 419 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01349, allocations: 0 / 419 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.0135, allocations: 11.98 kB / 419 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01351, allocations: 12.06 kB / 419.1 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01351, allocations: 3.938 kB / 419.1 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.01408, allocations: 0.7289 MB / 419.8 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.0141, allocations: 23.81 kB / 419.8 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01412, allocations: 8.062 kB / 419.8 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.01427, allocations: 23.98 kB / 419.8 MB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.01433, allocations: 27.89 kB / 419.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01434, allocations: 11.98 kB / 419.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.01441, allocations: 161.2 kB / 420 MB, free: 4.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01441, allocations: 0 / 420 MB, free: 4.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01469, allocations: 64 kB / 420.1 MB, free: 4.309 MB / 394.7 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.0006938/0.01539, allocations: 1.274 MB / 421.4 MB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.01573, allocations: 268.8 kB / 421.6 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01573, allocations: 0 / 421.6 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.01587, allocations: 127.8 kB / 421.8 MB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.01632, allocations: 45.2 kB / 421.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.01879, allocations: 3.341 MB / 425.2 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.963e-05/0.01889, allocations: 160.1 kB / 425.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.01897, allocations: 34.95 kB / 425.3 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.01907, allocations: 96.45 kB / 425.4 MB, free: 14.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01907, allocations: 0 / 425.4 MB, free: 14.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.03581, allocations: 6.098 MB / 431.5 MB, free: 8.586 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.807, allocations: 3.953 kB / 431.5 MB, free: 8.582 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.688065158203244]