Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_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.001811/0.001811, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.002149/0.002149, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 55.92 kB / 328 MB, free: 3.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.09109, allocations: 46.62 MB / 374.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002532/0.09366, allocations: 1.5 MB / 376.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.09456, allocations: 0.5468 MB / 376.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.09462, allocations: 0 / 376.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.09474, allocations: 23.81 kB / 376.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.09481, allocations: 3.938 kB / 376.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.09497, allocations: 39.91 kB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.09507, allocations: 63.83 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.09517, allocations: 15.98 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.09529, allocations: 23.92 kB / 376.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.09537, allocations: 35.78 kB / 376.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.0954, allocations: 4 kB / 376.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.167e-05/0.09547, allocations: 20 kB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.0955, allocations: 15.91 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.09555, allocations: 27.86 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.0957, allocations: 71.73 kB / 377 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.09571, allocations: 4 kB / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09572, allocations: 3.938 kB / 377 MB, free: 2.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.09573, allocations: 0 / 377 MB, free: 2.707 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.0006493/0.09638, allocations: 383.2 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.09642, allocations: 8.031 kB / 377.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.09646, allocations: 30.75 kB / 377.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.09649, allocations: 12.89 kB / 377.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.09666, allocations: 176.3 kB / 377.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.09668, allocations: 4.359 kB / 377.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.0967, allocations: 4.375 kB / 377.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.09697, allocations: 93.64 kB / 377.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.09699, allocations: 3.984 kB / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.097, allocations: 0 / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.09701, allocations: 4 kB / 377.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.09734, allocations: 83.92 kB / 377.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.09774, allocations: 300.7 kB / 378.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.098, allocations: 74.53 kB / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.09817, allocations: 48.94 kB / 378.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.0982, allocations: 0 / 378.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.09822, allocations: 30.56 kB / 378.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.09823, allocations: 0 / 378.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005651/0.0988, allocations: 157.6 kB / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.09885, allocations: 51.41 kB / 378.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.09894, allocations: 109.8 kB / 378.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.09896, allocations: 25.7 kB / 378.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.09902, allocations: 104 kB / 378.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.09905, allocations: 11.91 kB / 378.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.0991, allocations: 21.72 kB / 378.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.09923, allocations: 322.8 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.09939, allocations: 35.97 kB / 379.1 MB, free: 440 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.09955, allocations: 39.89 kB / 379.1 MB, free: 400 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.09985, allocations: 88.72 kB / 379.2 MB, free: 308 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.09986, allocations: 0 / 379.2 MB, free: 308 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003526/0.1002, allocations: 114 kB / 379.3 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1002, allocations: 4 kB / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1003, allocations: 0 / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1003, allocations: 0 / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1004, allocations: 31.97 kB / 379.3 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1004, allocations: 0 / 379.3 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.1005, allocations: 7.984 kB / 379.3 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1005, allocations: 7.938 kB / 379.3 MB, free: 136 kB / 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.0001033/0.1006, allocations: 118.1 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1007, allocations: 7.953 kB / 379.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1682/0.2689, allocations: 127.3 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.269, allocations: 1.219 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.269, allocations: 2.906 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.269, allocations: 0.75 kB / 379.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2692, allocations: 184.1 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2692, allocations: 4.781 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2693, allocations: 25.53 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2693, allocations: 2.078 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2694, allocations: 3.062 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2694, allocations: 1.375 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2694, allocations: 0.75 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2698, allocations: 226 kB / 380 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.2698, allocations: 81.86 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2698, allocations: 1.375 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2699, allocations: 14.03 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.27, allocations: 8.484 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.27, allocations: 1.375 kB / 380.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.015e-05/0.27, allocations: 92.84 kB / 380.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2701, allocations: 0 / 380.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.2703, allocations: 16.95 kB / 380.2 MB, free: 12.5 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.0005558/0.2708, allocations: 0.75 MB / 381 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.2712, allocations: 86.64 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2712, allocations: 0 / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.2714, allocations: 52.33 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.2717, allocations: 6.906 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.2722, allocations: 203.8 kB / 381.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2723, allocations: 0.6901 MB / 382 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.2724, allocations: 7.359 kB / 382 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.2724, allocations: 21.8 kB / 382.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2724, allocations: 0 / 382.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.2976, allocations: 2.036 MB / 384.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.279, allocations: 8.922 kB / 384.1 MB, free: 10.47 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches