Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 113.5 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 200 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 40.06 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2884, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003136/0.2916, allocations: 1.525 MB / 401.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.2926, allocations: 499.7 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.2926, allocations: 4 kB / 402.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2928, allocations: 23.86 kB / 402.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.882e-05/0.2929, allocations: 7.875 kB / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.2931, allocations: 43.89 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2932, allocations: 51.91 kB / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2933, allocations: 19.94 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2934, allocations: 31.83 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.2935, allocations: 31.91 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2935, allocations: 12 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.2936, allocations: 12 kB / 402.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.2936, allocations: 11.94 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2937, allocations: 27.86 kB / 402.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2939, allocations: 70.67 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2939, allocations: 0 / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2939, allocations: 0 / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2939, allocations: 0 / 402.6 MB, free: 6.473 MB / 318.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.0006964/0.2946, allocations: 387.2 kB / 402.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2946, allocations: 8.031 kB / 402.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.2947, allocations: 42.73 kB / 403 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.2947, allocations: 4.891 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2949, allocations: 168.3 kB / 403.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2949, allocations: 4.375 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2949, allocations: 8.375 kB / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.2952, allocations: 93.7 kB / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2953, allocations: 7.938 kB / 403.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2953, allocations: 0 / 403.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2953, allocations: 0 / 403.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.2956, allocations: 79.91 kB / 403.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2961, allocations: 316.6 kB / 403.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.2964, allocations: 74.53 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2966, allocations: 48.92 kB / 403.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2966, allocations: 3.938 kB / 403.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.2967, allocations: 38.59 kB / 403.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.2967, allocations: 4 kB / 403.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006343/0.2973, allocations: 141.6 kB / 404 MB, free: 4.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.2974, allocations: 55.41 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2975, allocations: 113.8 kB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2976, allocations: 29.7 kB / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.2976, allocations: 88.14 kB / 404.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.2977, allocations: 23.78 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.2977, allocations: 17.72 kB / 404.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2979, allocations: 318.8 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.298, allocations: 35.95 kB / 404.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2982, allocations: 43.95 kB / 404.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.2985, allocations: 76.73 kB / 404.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2985, allocations: 0 / 404.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003659/0.2989, allocations: 117.6 kB / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2989, allocations: 4 kB / 404.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2989, allocations: 0 / 404.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2989, allocations: 4 kB / 404.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2991, allocations: 15.98 kB / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2991, allocations: 0 / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.2992, allocations: 12.42 kB / 404.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2992, allocations: 7.922 kB / 404.9 MB, free: 3.895 MB / 318.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 0.0001067/0.2993, allocations: 121.8 kB / 405 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.2994, allocations: 4.328 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.2998, allocations: 125.6 kB / 405.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2998, allocations: 0 / 405.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.2998, allocations: 11.98 kB / 405.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2998, allocations: 3.938 kB / 405.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3001, allocations: 189.6 kB / 405.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3001, allocations: 4 kB / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.3002, allocations: 23.97 kB / 405.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3002, allocations: 0 / 405.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3002, allocations: 4 kB / 405.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3002, allocations: 3.938 kB / 405.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3002, allocations: 3.938 kB / 405.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.3007, allocations: 215.4 kB / 405.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.3008, allocations: 93.05 kB / 405.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3008, allocations: 0 / 405.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3009, allocations: 11.98 kB / 405.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3009, allocations: 3.984 kB / 405.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.301, allocations: 8 kB / 405.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.301, allocations: 87.22 kB / 405.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.301, allocations: 4 kB / 405.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000225/0.3013, allocations: 12 kB / 405.8 MB, free: 2.879 MB / 318.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.0007886/0.302, allocations: 0.7631 MB / 406.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.3024, allocations: 87.97 kB / 406.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3025, allocations: 0 / 406.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3026, allocations: 59.89 kB / 406.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3029, allocations: 7.266 kB / 406.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.3035, allocations: 187.7 kB / 406.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3039, allocations: 0.6922 MB / 407.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.3039, allocations: 0 / 407.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.304, allocations: 27.42 kB / 407.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.304, allocations: 0 / 407.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.328, allocations: 2.032 MB / 409.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.771, allocations: 19.56 kB / 409.7 MB, free: 15.02 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches