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.001579/0.001579, allocations: 118.8 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00229/0.00229, allocations: 201.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 79.86 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.324, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003444/0.3275, allocations: 2.124 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3298, allocations: 1.372 MB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3299, allocations: 3.469 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.295e-05/0.33, allocations: 23.67 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.3301, allocations: 38 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.3306, allocations: 191.9 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3308, allocations: 175.3 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.331, allocations: 108.2 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3312, allocations: 85.89 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3313, allocations: 88.17 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.3314, allocations: 19.11 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.3316, allocations: 154.4 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.3317, allocations: 48.09 kB / 0.5348 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.3318, allocations: 86.84 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.3322, allocations: 325.7 kB / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3322, allocations: 0 / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3322, allocations: 1.375 kB / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3322, allocations: 0 / 0.5352 GB, free: 9.805 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.0006271/0.3328, allocations: 0.5229 MB / 0.5357 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3329, allocations: 9.594 kB / 0.5357 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.333, allocations: 95.44 kB / 0.5358 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009247/0.3339, allocations: 89.41 kB / 0.5359 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.3342, allocations: 211.8 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3342, allocations: 21.59 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3343, allocations: 33 kB / 0.5362 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.3347, allocations: 230.2 kB / 0.5364 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3347, allocations: 0 / 0.5364 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3347, allocations: 19.31 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3348, allocations: 7.094 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3351, allocations: 161.5 kB / 0.5366 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008605/0.3359, allocations: 0.6453 MB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.3365, allocations: 240 kB / 0.5374 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3366, allocations: 69.8 kB / 0.5375 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3366, allocations: 2.672 kB / 0.5375 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3367, allocations: 40.23 kB / 0.5375 GB, free: 7.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.3367, allocations: 1.469 kB / 0.5375 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004692/0.3371, allocations: 217.4 kB / 0.5377 GB, free: 7.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3372, allocations: 62.56 kB / 0.5378 GB, free: 7.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.3373, allocations: 105.4 kB / 0.5379 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3373, allocations: 26.83 kB / 0.5379 GB, free: 7.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.3374, allocations: 147 kB / 0.5381 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.3375, allocations: 93.44 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.3375, allocations: 43.7 kB / 0.5382 GB, free: 7.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3376, allocations: 325 kB / 0.5385 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.3377, allocations: 41.58 kB / 0.5386 GB, free: 7.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.3378, allocations: 46.05 kB / 0.5386 GB, free: 7.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.338, allocations: 115.9 kB / 0.5387 GB, free: 6.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.338, allocations: 0 / 0.5387 GB, free: 6.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002777/0.3383, allocations: 175.2 kB / 0.5389 GB, free: 6.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3384, allocations: 5.781 kB / 0.5389 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3384, allocations: 0 / 0.5389 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3384, allocations: 1.312 kB / 0.5389 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.3388, allocations: 99.33 kB / 0.539 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3388, allocations: 1.125 kB / 0.539 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.3389, allocations: 19.77 kB / 0.539 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3389, allocations: 8.812 kB / 0.539 GB, free: 6.844 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.0001048/0.339, allocations: 129.8 kB / 0.5391 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.339, allocations: 13.41 kB / 0.5391 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.3391, allocations: 22.31 kB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3391, allocations: 6.781 kB / 0.5392 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3391, allocations: 0 / 0.5392 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3391, allocations: 5.484 kB / 0.5392 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.3394, allocations: 282.4 kB / 0.5394 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3395, allocations: 8 kB / 0.5395 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.3398, allocations: 104.5 kB / 0.5396 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3398, allocations: 0 / 0.5396 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3398, allocations: 5.344 kB / 0.5396 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.3399, allocations: 5.344 kB / 0.5396 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3399, allocations: 3.938 kB / 0.5396 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.3402, allocations: 277.6 kB / 0.5398 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3402, allocations: 94.19 kB / 0.5399 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3403, allocations: 5.375 kB / 0.5399 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.3403, allocations: 5.469 kB / 0.5399 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3404, allocations: 19.88 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3404, allocations: 5.094 kB / 0.54 GB, free: 6.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.324e-05/0.3405, allocations: 83.69 kB / 0.54 GB, free: 5.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3405, allocations: 4 kB / 0.54 GB, free: 5.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.3408, allocations: 57.75 kB / 0.5401 GB, free: 5.934 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.000687/0.3415, allocations: 0.8681 MB / 0.5409 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.3418, allocations: 135.9 kB / 0.5411 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3418, allocations: 4 kB / 0.5411 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3419, allocations: 74.55 kB / 0.5411 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3421, allocations: 18.97 kB / 0.5412 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3443, allocations: 1.973 MB / 0.5431 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3446, allocations: 0.7416 MB / 0.5438 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.383e-05/0.3447, allocations: 19.5 kB / 0.5438 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.3448, allocations: 68.31 kB / 0.5439 GB, free: 2.711 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3448, allocations: 0 / 0.5439 GB, free: 2.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.3633, allocations: 2.786 MB / 0.5466 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.98, allocations: 5.906 kB / 0.5466 GB, free: 0.9219 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