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.001495/0.001495, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 83.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3251, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003349/0.3285, allocations: 2.113 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3306, allocations: 1.371 MB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.3308, allocations: 8.062 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.3308, allocations: 23.67 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.331, allocations: 34.41 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.3315, allocations: 194.1 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.3317, allocations: 179.6 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3319, allocations: 109.6 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3321, allocations: 88.42 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3323, allocations: 87.95 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3323, allocations: 16.06 kB / 0.5348 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.3326, allocations: 151.2 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.3326, allocations: 51.05 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.3327, allocations: 91.81 kB / 0.535 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.3332, allocations: 319 kB / 0.5353 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3332, allocations: 0 / 0.5353 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3332, allocations: 0 / 0.5353 GB, free: 9.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3332, allocations: 0 / 0.5353 GB, free: 9.723 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.0006195/0.3338, allocations: 0.5349 MB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3339, allocations: 13.56 kB / 0.5359 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.334, allocations: 87.59 kB / 0.536 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.3348, allocations: 84.81 kB / 0.536 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3351, allocations: 216 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.3352, allocations: 25.91 kB / 0.5363 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3352, allocations: 27.97 kB / 0.5363 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.3356, allocations: 234.6 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3356, allocations: 4 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3357, allocations: 11.12 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3357, allocations: 7.438 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.336, allocations: 166.4 kB / 0.5367 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.3369, allocations: 0.6478 MB / 0.5373 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.3374, allocations: 237.1 kB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.3375, allocations: 73.81 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3376, allocations: 2.703 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3376, allocations: 40.17 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.3376, allocations: 5.219 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004332/0.3381, allocations: 210.8 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3381, allocations: 61.64 kB / 0.5379 GB, free: 7.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.3382, allocations: 101.8 kB / 0.538 GB, free: 7.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3382, allocations: 30.83 kB / 0.5381 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.3383, allocations: 154.7 kB / 0.5382 GB, free: 7.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.3384, allocations: 97.59 kB / 0.5383 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.3385, allocations: 44.36 kB / 0.5383 GB, free: 7.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3386, allocations: 321.4 kB / 0.5386 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.3387, allocations: 40.8 kB / 0.5387 GB, free: 6.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.3388, allocations: 50.83 kB / 0.5387 GB, free: 6.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.339, allocations: 115.1 kB / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.339, allocations: 0 / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002719/0.3393, allocations: 171.9 kB / 0.539 GB, free: 6.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3393, allocations: 8.578 kB / 0.539 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3394, allocations: 1.125 kB / 0.539 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3394, allocations: 1.188 kB / 0.539 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3397, allocations: 98.7 kB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3397, allocations: 1.25 kB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.3398, allocations: 24.41 kB / 0.5391 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3398, allocations: 8.312 kB / 0.5391 GB, free: 6.734 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.0001069/0.3399, allocations: 125.1 kB / 0.5393 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.34, allocations: 10.2 kB / 0.5393 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.115e-05/0.3401, allocations: 26.78 kB / 0.5393 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3401, allocations: 6.281 kB / 0.5393 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3401, allocations: 0 / 0.5393 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3401, allocations: 5.359 kB / 0.5393 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.3404, allocations: 285.4 kB / 0.5396 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3404, allocations: 1.375 kB / 0.5396 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.3408, allocations: 99.03 kB / 0.5397 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.3408, allocations: 5.188 kB / 0.5397 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3408, allocations: 5.344 kB / 0.5397 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.3408, allocations: 5.062 kB / 0.5397 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3408, allocations: 1.156 kB / 0.5397 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3411, allocations: 273.3 kB / 0.54 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.3412, allocations: 89.41 kB / 0.54 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3412, allocations: 9.406 kB / 0.5401 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.3413, allocations: 10.94 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3414, allocations: 18.56 kB / 0.5401 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3414, allocations: 5.562 kB / 0.5401 GB, free: 5.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.924e-05/0.3414, allocations: 91.75 kB / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3414, allocations: 0 / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3417, allocations: 57.83 kB / 0.5402 GB, free: 5.832 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.0007503/0.3425, allocations: 0.8681 MB / 0.5411 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3428, allocations: 139.5 kB / 0.5412 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3428, allocations: 0 / 0.5412 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3429, allocations: 75.27 kB / 0.5413 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3431, allocations: 20.72 kB / 0.5413 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3453, allocations: 1.979 MB / 0.5432 GB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3457, allocations: 0.7413 MB / 0.544 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.016e-05/0.3458, allocations: 19.97 kB / 0.544 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.3459, allocations: 68.69 kB / 0.544 GB, free: 2.602 MB / 398.1 MB Notification: Performance of SimCode: time 2.164e-06/0.3459, allocations: 0 / 0.544 GB, free: 2.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3688, allocations: 2.766 MB / 0.5467 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.207, allocations: 10.34 kB / 0.5468 GB, free: 0.7656 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