Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 114.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 75.88 kB / 482 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006495/0.3033, allocations: 5.783 MB / 0.5373 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.3071, allocations: 2.357 MB / 0.5396 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.3076, allocations: 36.75 kB / 0.5396 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.3081, allocations: 225.7 kB / 0.5398 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3085, allocations: 176.6 kB / 0.54 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.3094, allocations: 474.8 kB / 0.5405 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3104, allocations: 1.119 MB / 0.5416 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.3112, allocations: 0.6123 MB / 0.5422 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.3116, allocations: 379 kB / 0.5425 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.312, allocations: 388.5 kB / 0.5429 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3121, allocations: 94.97 kB / 0.543 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.3124, allocations: 163.3 kB / 0.5431 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3126, allocations: 211.5 kB / 0.5433 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.3129, allocations: 471.4 kB / 0.5438 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3141, allocations: 1.277 MB / 0.545 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3141, allocations: 5.141 kB / 0.545 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3141, allocations: 0 / 0.545 GB, free: 3.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.3141, allocations: 0 / 0.545 GB, free: 3.262 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00145/0.3156, allocations: 1.14 MB / 0.5461 GB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3156, allocations: 9.375 kB / 0.5462 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.3159, allocations: 110 kB / 0.5463 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.3167, allocations: 0.5999 MB / 0.5468 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.3168, allocations: 65.97 kB / 0.5469 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3169, allocations: 99.55 kB / 0.547 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.3182, allocations: 0.8861 MB / 0.5479 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.3183, allocations: 11.89 kB / 0.5479 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.3184, allocations: 36 kB / 0.5479 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.3184, allocations: 24 kB / 0.5479 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.3193, allocations: 0.5229 MB / 0.5485 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.3226, allocations: 3.607 MB / 0.552 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.3231, allocations: 225.8 kB / 0.5522 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.3233, allocations: 100.8 kB / 0.5523 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.3235, allocations: 251.3 kB / 0.5525 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3235, allocations: 38.56 kB / 0.5526 GB, free: 11.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.3235, allocations: 0 / 0.5526 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002173/0.3257, allocations: 1.296 MB / 0.5538 GB, free: 10.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.3258, allocations: 55.41 kB / 0.5539 GB, free: 10.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.3261, allocations: 409.7 kB / 0.5543 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3262, allocations: 29.7 kB / 0.5543 GB, free: 10.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3264, allocations: 466.1 kB / 0.5547 GB, free: 9.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.3265, allocations: 138 kB / 0.5549 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3266, allocations: 102.2 kB / 0.555 GB, free: 9.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3268, allocations: 354.8 kB / 0.5553 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.327, allocations: 125 kB / 0.5554 GB, free: 8.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.3273, allocations: 306 kB / 0.5557 GB, free: 8.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.3278, allocations: 463.6 kB / 0.5562 GB, free: 7.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3278, allocations: 0 / 0.5562 GB, free: 7.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007347/0.3286, allocations: 0.5088 MB / 0.5567 GB, free: 7.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3286, allocations: 8 kB / 0.5567 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3286, allocations: 4 kB / 0.5567 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.3288, allocations: 44.83 kB / 0.5567 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.3292, allocations: 132.4 kB / 0.5568 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003416/0.3295, allocations: 0.5562 MB / 0.5574 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3298, allocations: 20 kB / 0.5574 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.3298, allocations: 27.98 kB / 0.5574 GB, free: 6.562 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.3301, allocations: 229.6 kB / 0.5577 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.3302, allocations: 55.28 kB / 0.5577 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005794/0.3308, allocations: 331 kB / 0.558 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.3308, allocations: 3.984 kB / 0.558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3308, allocations: 0 / 0.558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.3309, allocations: 116.5 kB / 0.5581 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3309, allocations: 8 kB / 0.5581 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3311, allocations: 4 kB / 0.5581 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.3311, allocations: 27.91 kB / 0.5582 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008473/0.332, allocations: 425.8 kB / 0.5586 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006939/0.3327, allocations: 0.6051 MB / 0.5592 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001779/0.3329, allocations: 111.9 kB / 0.5593 GB, free: 4.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3331, allocations: 275.1 kB / 0.5595 GB, free: 4.34 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3331, allocations: 0 / 0.5595 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.334, allocations: 347.3 kB / 0.5599 GB, free: 3.992 MB / 414.1 MB Notification: Performance of SimCode: time 0.002556/0.3365, allocations: 2.095 MB / 0.5619 GB, free: 1.852 MB / 414.1 MB Notification: Performance of Templates: time 0.01034/0.3469, allocations: 5.263 MB / 0.5671 GB, free: 12.61 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches