Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",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.001054/0.001054, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 180.7 kB / 16.92 MB, free: 6.922 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.545/1.545, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3408/0.3408, allocations: 43.58 MB / 315 MB, free: 9.082 MB / 254.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.0005047/0.0005046, allocations: 16 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.113, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00205/0.115, allocations: 1.787 MB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1168, allocations: 1.302 MB / 446.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.1169, allocations: 7.938 kB / 446.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.117, allocations: 15.8 kB / 446.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1171, allocations: 19.84 kB / 446.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1174, allocations: 155.5 kB / 446.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1176, allocations: 168.1 kB / 447 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.1178, allocations: 91.58 kB / 447.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1179, allocations: 59.66 kB / 447.1 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.118, allocations: 71.58 kB / 447.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.118, allocations: 7.938 kB / 447.2 MB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.1183, allocations: 139.9 kB / 447.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.1183, allocations: 31.84 kB / 447.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.1184, allocations: 101.2 kB / 447.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.1187, allocations: 291.2 kB / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1188, allocations: 0 / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1188, allocations: 0 / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1188, allocations: 0 / 447.8 MB, free: 8.562 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005056/0.1193, allocations: 491.3 kB / 448.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1193, allocations: 11.97 kB / 448.3 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.294e-05/0.1194, allocations: 87.16 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.1202, allocations: 72.52 kB / 448.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1203, allocations: 188.1 kB / 448.6 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1204, allocations: 28.97 kB / 448.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.1204, allocations: 32.38 kB / 448.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1208, allocations: 234.2 kB / 448.9 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1208, allocations: 8 kB / 448.9 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1208, allocations: 8 kB / 448.9 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1209, allocations: 11.98 kB / 448.9 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1211, allocations: 166.5 kB / 449.1 MB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.122, allocations: 0.6555 MB / 449.7 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.1225, allocations: 239.3 kB / 450 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1226, allocations: 73.3 kB / 450 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1226, allocations: 4.234 kB / 450 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1227, allocations: 30.8 kB / 450.1 MB, free: 6.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.1227, allocations: 4 kB / 450.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004501/0.1231, allocations: 222.4 kB / 450.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1232, allocations: 63.33 kB / 450.4 MB, free: 5.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.1233, allocations: 101.9 kB / 450.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1233, allocations: 29.7 kB / 450.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.1234, allocations: 152.3 kB / 450.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.1234, allocations: 98.58 kB / 450.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1235, allocations: 17.72 kB / 450.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1236, allocations: 326.8 kB / 451.1 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.1237, allocations: 43.97 kB / 451.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.1238, allocations: 48.91 kB / 451.2 MB, free: 4.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.124, allocations: 121.3 kB / 451.3 MB, free: 4.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.124, allocations: 0 / 451.3 MB, free: 4.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002558/0.1243, allocations: 169.5 kB / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1243, allocations: 12 kB / 451.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1243, allocations: 0 / 451.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1243, allocations: 0 / 451.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.1247, allocations: 107.8 kB / 451.6 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1247, allocations: 0 / 451.6 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.1248, allocations: 19.84 kB / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1248, allocations: 12 kB / 451.6 MB, free: 4.504 MB / 382.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 (27): * Single equations (assignments): 27 * 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.0001053/0.1249, allocations: 129.8 kB / 451.7 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.1249, allocations: 7.906 kB / 451.7 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.125, allocations: 29.06 kB / 451.7 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.125, allocations: 7.938 kB / 451.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.125, allocations: 0 / 451.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.125, allocations: 0 / 451.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1253, allocations: 281.4 kB / 452 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1253, allocations: 0 / 452 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1257, allocations: 103.9 kB / 452.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1257, allocations: 3.984 kB / 452.1 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1257, allocations: 4 kB / 452.1 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1257, allocations: 7.938 kB / 452.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1257, allocations: 0 / 452.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.126, allocations: 279.5 kB / 452.4 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1261, allocations: 88.95 kB / 452.5 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1261, allocations: 4 kB / 452.5 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.1262, allocations: 12.19 kB / 452.5 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1262, allocations: 19.95 kB / 452.5 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1263, allocations: 12 kB / 452.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.14e-05/0.1263, allocations: 83.22 kB / 452.6 MB, free: 3.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1263, allocations: 4 kB / 452.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1266, allocations: 55.75 kB / 452.7 MB, free: 3.297 MB / 382.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 (27): * Single equations (assignments): 27 * 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.0006768/0.1272, allocations: 0.8802 MB / 453.6 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1275, allocations: 132.3 kB / 453.7 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1275, allocations: 0 / 453.7 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1276, allocations: 88.34 kB / 453.8 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1278, allocations: 19.88 kB / 453.8 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1727/0.3006, allocations: 2.125 MB / 455.9 MB, free: 45.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.3008, allocations: 0.7408 MB / 456.7 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.3009, allocations: 14.44 kB / 456.7 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.301, allocations: 64.83 kB / 456.7 MB, free: 44.83 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.301, allocations: 8.844 kB / 456.8 MB, free: 44.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.312, allocations: 2.413 MB / 459.2 MB, free: 44.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.3121, allocations: 193.1 kB / 459.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.008, allocations: 4 kB / 459.4 MB, free: 44.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches