Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 112.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 206 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2994, allocations: 50.55 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003255/0.3027, allocations: 1.514 MB / 410.2 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3039, allocations: 0.5336 MB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.304, allocations: 0 / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.3042, allocations: 15.88 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3043, allocations: 11.92 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.3046, allocations: 39.91 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3047, allocations: 55.78 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3048, allocations: 19.98 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.305, allocations: 27.92 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.3051, allocations: 35.83 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3052, allocations: 11.94 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.3052, allocations: 12 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.3053, allocations: 19.98 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.3053, allocations: 31.8 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3055, allocations: 63.78 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3055, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.3056, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.3056, allocations: 3.938 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007171/0.3063, allocations: 381 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3063, allocations: 16.03 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.3064, allocations: 34.75 kB / 411.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.3064, allocations: 4.938 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3066, allocations: 172.2 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3066, allocations: 4.375 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3066, allocations: 8.375 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.3069, allocations: 89.7 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3069, allocations: 3.938 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.307, allocations: 4 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.307, allocations: 3.984 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.3073, allocations: 75.92 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.3078, allocations: 316.6 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.308, allocations: 74.53 kB / 412.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3082, allocations: 40.95 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3082, allocations: 4 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3083, allocations: 30.56 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3083, allocations: 0 / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005608/0.3088, allocations: 157.5 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3089, allocations: 51.41 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.309, allocations: 117.8 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.309, allocations: 25.7 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.3091, allocations: 96.06 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3091, allocations: 11.81 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.3091, allocations: 21.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3092, allocations: 318.8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3094, allocations: 35.95 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.3095, allocations: 35.97 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.3098, allocations: 80.78 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3098, allocations: 8.312 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003345/0.3102, allocations: 113.5 kB / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3102, allocations: 8 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3102, allocations: 4 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3103, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3104, allocations: 19.97 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3104, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.3105, allocations: 11.98 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3105, allocations: 7.938 kB / 413.5 MB, free: 12.58 MB / 334.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 (5): * Single equations (assignments): 5 * 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.018e-05/0.3106, allocations: 113.8 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3107, allocations: 11.91 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.3111, allocations: 129.5 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3111, allocations: 4 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3111, allocations: 0 / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3111, allocations: 3.938 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.3113, allocations: 201.5 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3113, allocations: 0 / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3114, allocations: 19.98 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3114, allocations: 4 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3115, allocations: 0 / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3115, allocations: 0 / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3115, allocations: 0 / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.3119, allocations: 231.3 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.3119, allocations: 81.11 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3119, allocations: 0 / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3121, allocations: 15.97 kB / 414.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3121, allocations: 4 kB / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3121, allocations: 4 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.3122, allocations: 95.52 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3122, allocations: 0 / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.3124, allocations: 19.91 kB / 414.4 MB, free: 11.55 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0007184/0.3131, allocations: 0.7514 MB / 415.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.3135, allocations: 79.92 kB / 415.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3135, allocations: 0 / 415.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.3137, allocations: 55.89 kB / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.314, allocations: 8 kB / 415.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.3145, allocations: 199.6 kB / 415.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3149, allocations: 0.6885 MB / 416.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3149, allocations: 4 kB / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.315, allocations: 19.42 kB / 416.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.315, allocations: 4 kB / 416.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.3339, allocations: 2.055 MB / 418.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.331, allocations: 11.91 kB / 418.2 MB, free: 7.684 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches