Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001284, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3222, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003259/0.3255, allocations: 2.116 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3281, allocations: 1.369 MB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.3284, allocations: 12.22 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3286, allocations: 23.67 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.3288, allocations: 34.72 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.3297, allocations: 195.1 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.33, allocations: 179.6 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.3303, allocations: 108.2 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.3306, allocations: 85.83 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3307, allocations: 92.11 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.3307, allocations: 15.12 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.3312, allocations: 150.4 kB / 0.5348 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.3312, allocations: 44.08 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.3313, allocations: 94.84 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.3318, allocations: 325.7 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3319, allocations: 0 / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3319, allocations: 1.375 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3319, allocations: 0 / 0.5352 GB, free: 9.762 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006413/0.3325, allocations: 0.5229 MB / 0.5357 GB, free: 9.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3326, allocations: 10.25 kB / 0.5358 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.3327, allocations: 90.56 kB / 0.5358 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/0.3337, allocations: 85.44 kB / 0.5359 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3341, allocations: 211.4 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.3341, allocations: 26.12 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.3341, allocations: 28.91 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.3346, allocations: 233.6 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3346, allocations: 1.125 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3347, allocations: 10.22 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3347, allocations: 11.97 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.335, allocations: 169.5 kB / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.336, allocations: 0.6402 MB / 0.5372 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.3365, allocations: 236.2 kB / 0.5374 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3367, allocations: 70.86 kB / 0.5375 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3367, allocations: 7.172 kB / 0.5375 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3368, allocations: 40.11 kB / 0.5375 GB, free: 7.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.983e-06/0.3368, allocations: 0 / 0.5375 GB, free: 7.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004683/0.3373, allocations: 214.1 kB / 0.5378 GB, free: 7.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3373, allocations: 58.56 kB / 0.5378 GB, free: 7.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.3374, allocations: 106.1 kB / 0.5379 GB, free: 7.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3374, allocations: 30.83 kB / 0.5379 GB, free: 7.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.3375, allocations: 146.7 kB / 0.5381 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.3376, allocations: 93.11 kB / 0.5382 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.3377, allocations: 47.27 kB / 0.5382 GB, free: 7.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3378, allocations: 318.4 kB / 0.5385 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3379, allocations: 47.88 kB / 0.5386 GB, free: 7.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.338, allocations: 46.2 kB / 0.5386 GB, free: 6.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3382, allocations: 115.8 kB / 0.5387 GB, free: 6.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3382, allocations: 1.344 kB / 0.5387 GB, free: 6.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002862/0.3385, allocations: 170.9 kB / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3385, allocations: 4.938 kB / 0.5389 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3385, allocations: 4.875 kB / 0.5389 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3386, allocations: 4.797 kB / 0.5389 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.3389, allocations: 95.61 kB / 0.539 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.339, allocations: 1.312 kB / 0.539 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.339, allocations: 20.19 kB / 0.539 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3391, allocations: 16.73 kB / 0.539 GB, free: 6.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001139/0.3392, allocations: 120.8 kB / 0.5391 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.3392, allocations: 17.59 kB / 0.5392 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.3393, allocations: 22.66 kB / 0.5392 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3393, allocations: 6.281 kB / 0.5392 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3393, allocations: 1.25 kB / 0.5392 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3393, allocations: 3.984 kB / 0.5392 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.3397, allocations: 287.1 kB / 0.5395 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3397, allocations: 0 / 0.5395 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.34, allocations: 107.4 kB / 0.5396 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3401, allocations: 1.562 kB / 0.5396 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3401, allocations: 1.594 kB / 0.5396 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.3401, allocations: 3.938 kB / 0.5396 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3401, allocations: 1.312 kB / 0.5396 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3404, allocations: 280.8 kB / 0.5398 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3405, allocations: 93.52 kB / 0.5399 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3405, allocations: 1 kB / 0.5399 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.3406, allocations: 11.22 kB / 0.5399 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3407, allocations: 18.47 kB / 0.54 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3407, allocations: 6.125 kB / 0.54 GB, free: 6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3408, allocations: 83.72 kB / 0.54 GB, free: 5.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3408, allocations: 0 / 0.54 GB, free: 5.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.3412, allocations: 58.06 kB / 0.5401 GB, free: 5.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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.0007543/0.3419, allocations: 0.8719 MB / 0.5409 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.3422, allocations: 135.5 kB / 0.5411 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3422, allocations: 4 kB / 0.5411 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3424, allocations: 74.27 kB / 0.5412 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.3426, allocations: 19.09 kB / 0.5412 GB, free: 5.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3449, allocations: 1.976 MB / 0.5431 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3452, allocations: 0.7422 MB / 0.5438 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.48e-05/0.3453, allocations: 19.78 kB / 0.5438 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.3454, allocations: 67.88 kB / 0.5439 GB, free: 2.668 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3454, allocations: 1.062 kB / 0.5439 GB, free: 2.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.3701, allocations: 2.779 MB / 0.5466 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.041, allocations: 7.312 kB / 0.5466 GB, free: 0.8672 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches