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.002085/0.002085, allocations: 104 kB / 17.06 MB, free: 6.027 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.001854/0.001854, allocations: 196 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.08/3.08, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002486, allocations: 47.91 kB / 350.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7588, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.006667/0.7655, allocations: 1.5 MB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.7675, allocations: 0.4908 MB / 402.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.7677, allocations: 4 kB / 402.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.7679, allocations: 19.86 kB / 402.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.7681, allocations: 15.86 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.7684, allocations: 35.92 kB / 402.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.7686, allocations: 51.84 kB / 402.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.7688, allocations: 31.89 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.769, allocations: 35.86 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.7692, allocations: 23.91 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.7692, allocations: 8 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.7693, allocations: 12 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.68e-05/0.7694, allocations: 19.92 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.7695, allocations: 27.84 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.7698, allocations: 71.72 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7698, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.7698, allocations: 0 / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.7698, allocations: 0 / 402.5 MB, free: 6.504 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.001027/0.7709, allocations: 385 kB / 402.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.417e-05/0.7709, allocations: 12.03 kB / 402.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.293e-05/0.771, allocations: 34.75 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.7711, allocations: 4.938 kB / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.7713, allocations: 172.2 kB / 403.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.7714, allocations: 8.375 kB / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.7714, allocations: 4.375 kB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.7718, allocations: 93.7 kB / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.7719, allocations: 4 kB / 403.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.7719, allocations: 0 / 403.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7719, allocations: 0 / 403.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.7765, allocations: 75.92 kB / 403.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.7774, allocations: 320.6 kB / 403.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.778, allocations: 70.53 kB / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.7783, allocations: 40.95 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.7784, allocations: 4 kB / 403.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.7784, allocations: 38.59 kB / 403.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 4.318e-06/0.7784, allocations: 0 / 403.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001114/0.7796, allocations: 145.6 kB / 403.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.7797, allocations: 55.41 kB / 404 MB, free: 4.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.7798, allocations: 117.8 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.7799, allocations: 25.7 kB / 404.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.78, allocations: 95.97 kB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.7801, allocations: 15.81 kB / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.7801, allocations: 17.7 kB / 404.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7803, allocations: 318.8 kB / 404.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.7806, allocations: 35.95 kB / 404.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.7808, allocations: 39.97 kB / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.7813, allocations: 84.72 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7813, allocations: 0 / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006249/0.782, allocations: 113.5 kB / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.782, allocations: 8 kB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.782, allocations: 0 / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.7821, allocations: 0 / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.7823, allocations: 19.97 kB / 404.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.7823, allocations: 0 / 404.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.7824, allocations: 15.98 kB / 404.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.7825, allocations: 8.375 kB / 404.9 MB, free: 3.938 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.0001411/0.7826, allocations: 117.8 kB / 405 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.7827, allocations: 7.906 kB / 405 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.7833, allocations: 129.5 kB / 405.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7834, allocations: 4 kB / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7834, allocations: 0 / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.7834, allocations: 8 kB / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.7837, allocations: 193.5 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7837, allocations: 0 / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.7839, allocations: 15.98 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.784, allocations: 7.938 kB / 405.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.784, allocations: 0 / 405.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.784, allocations: 3.938 kB / 405.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.784, allocations: 3.984 kB / 405.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.7847, allocations: 235.4 kB / 405.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.7848, allocations: 77.11 kB / 405.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.7848, allocations: 384 / 405.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.7851, allocations: 11.98 kB / 405.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.7851, allocations: 11.98 kB / 405.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.7852, allocations: 4 kB / 405.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.686e-05/0.7853, allocations: 99.14 kB / 405.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7853, allocations: 0 / 405.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.7857, allocations: 8 kB / 405.8 MB, free: 2.914 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.001135/0.7869, allocations: 0.7552 MB / 406.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006671/0.7876, allocations: 83.92 kB / 406.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7876, allocations: 0 / 406.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.788, allocations: 59.88 kB / 406.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.7886, allocations: 8 kB / 406.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.7895, allocations: 187.8 kB / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.79, allocations: 0.6922 MB / 407.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.7901, allocations: 11.91 kB / 407.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.7902, allocations: 23.44 kB / 407.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.7902, allocations: 0 / 407.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/0.9242, allocations: 2.051 MB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.96/19.88, allocations: 19.36 kB / 409.7 MB, free: 15.04 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