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: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001139/0.001139, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.268/1.268, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009805/0.0009806, allocations: 43.92 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.225, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002345/0.2274, allocations: 1.512 MB / 402.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.2281, allocations: 0.4969 MB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.2281, allocations: 3.938 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2282, allocations: 15.92 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.2283, allocations: 11.88 kB / 403.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.2285, allocations: 43.89 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.2286, allocations: 47.91 kB / 403.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.2287, allocations: 23.92 kB / 403.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2288, allocations: 35.8 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.2289, allocations: 31.89 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2289, allocations: 4 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.2289, allocations: 16 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.229, allocations: 15.92 kB / 403.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.229, allocations: 23.88 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2292, allocations: 75.72 kB / 403.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2292, allocations: 0 / 403.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2292, allocations: 0 / 403.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2292, allocations: 4 kB / 403.7 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.0005583/0.2297, allocations: 375.1 kB / 404.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2298, allocations: 12.02 kB / 404.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.2298, allocations: 4.938 kB / 404.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2299, allocations: 181.5 kB / 404.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.23, allocations: 8.375 kB / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.23, allocations: 384 / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.2302, allocations: 89.89 kB / 404.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2303, allocations: 0 / 404.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2303, allocations: 4 kB / 404.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2303, allocations: 0 / 404.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.2306, allocations: 83.91 kB / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.231, allocations: 308.7 kB / 404.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.2313, allocations: 70.53 kB / 404.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.2314, allocations: 48.94 kB / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2315, allocations: 3.984 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2315, allocations: 38.53 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2315, allocations: 4 kB / 404.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005608/0.2321, allocations: 149.6 kB / 405.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2321, allocations: 51.41 kB / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.2322, allocations: 117.8 kB / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2322, allocations: 25.7 kB / 405.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.2322, allocations: 95.98 kB / 405.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.2323, allocations: 19.8 kB / 405.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2323, allocations: 9.719 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2324, allocations: 326.8 kB / 405.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2326, allocations: 35.95 kB / 405.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.2327, allocations: 35.97 kB / 405.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.233, allocations: 84.72 kB / 405.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.233, allocations: 0 / 405.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003359/0.2334, allocations: 117.5 kB / 406 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2334, allocations: 4 kB / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2334, allocations: 0 / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2334, allocations: 0 / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2336, allocations: 23.98 kB / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2336, allocations: 0 / 406 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.2337, allocations: 15.98 kB / 406 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2337, allocations: 0 / 406 MB, free: 3.988 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 7.55e-05/0.2338, allocations: 121.7 kB / 406.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.2338, allocations: 0 / 406.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.2342, allocations: 133.5 kB / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2342, allocations: 0 / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.2342, allocations: 3.984 kB / 406.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.2343, allocations: 85.05 kB / 406.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2343, allocations: 7.938 kB / 406.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2344, allocations: 12.42 kB / 406.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2344, allocations: 3.984 kB / 406.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004329/0.2349, allocations: 220.8 kB / 406.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004018/0.2353, allocations: 298.8 kB / 406.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001666/0.2355, allocations: 43.95 kB / 406.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.2355, allocations: 95.53 kB / 407 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Backend: time 3.81e-07/0.2355, allocations: 3.938 kB / 407 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.236, allocations: 138.3 kB / 407.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004733/0.2365, allocations: 0.5891 MB / 407.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of Templates: time 0.00332/0.2398, allocations: 1.15 MB / 408.9 MB, free: 0.9961 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (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 & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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