Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.89 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1154, allocations: 53.32 MB / 426.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003497/0.1189, allocations: 1.525 MB / 428.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1201, allocations: 0.5375 MB / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.1201, allocations: 4 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1202, allocations: 19.86 kB / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.1203, allocations: 11.86 kB / 428.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.1205, allocations: 35.91 kB / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1206, allocations: 55.91 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1207, allocations: 11.98 kB / 428.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1209, allocations: 43.78 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.121, allocations: 27.92 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.121, allocations: 4 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-05/0.1211, allocations: 23.98 kB / 428.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.1211, allocations: 7.938 kB / 428.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.1211, allocations: 31.84 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1213, allocations: 79.66 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1213, allocations: 0 / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1213, allocations: 0 / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1213, allocations: 0 / 429 MB, free: 2.617 MB / 350.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.0006998/0.122, allocations: 387.2 kB / 429.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1221, allocations: 8.031 kB / 429.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.1221, allocations: 38.75 kB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.1222, allocations: 4.891 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1223, allocations: 168.4 kB / 429.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1224, allocations: 4.375 kB / 429.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.1224, allocations: 4.312 kB / 429.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1227, allocations: 93.75 kB / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1227, allocations: 0 / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1227, allocations: 8 kB / 429.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1227, allocations: 0 / 429.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.123, allocations: 83.91 kB / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.1236, allocations: 308.6 kB / 430.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.1239, allocations: 74.47 kB / 430.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.124, allocations: 40.95 kB / 430.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1241, allocations: 4 kB / 430.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1241, allocations: 42.58 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1241, allocations: 0 / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005764/0.1247, allocations: 149.5 kB / 430.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1247, allocations: 55.39 kB / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1248, allocations: 113.8 kB / 430.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1248, allocations: 29.7 kB / 430.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.1249, allocations: 92.09 kB / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1249, allocations: 19.84 kB / 430.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.125, allocations: 17.7 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1251, allocations: 318.8 kB / 431.1 MB, free: 380 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1253, allocations: 35.95 kB / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1254, allocations: 43.91 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1257, allocations: 76.78 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1257, allocations: 0 / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003242/0.126, allocations: 117.6 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.126, allocations: 11.98 kB / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.126, allocations: 0 / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.126, allocations: 0 / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1262, allocations: 15.98 kB / 431.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1262, allocations: 0 / 431.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.031e-05/0.1263, allocations: 15.98 kB / 431.4 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1263, allocations: 3.938 kB / 431.4 MB, free: 48 kB / 350.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.0001102/0.1264, allocations: 121.8 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.1264, allocations: 8 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.1268, allocations: 121.6 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1268, allocations: 4.438 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1268, allocations: 0 / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1268, allocations: 0 / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.127, allocations: 201.5 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.127, allocations: 4.375 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1271, allocations: 15.98 kB / 431.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1271, allocations: 7.938 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1271, allocations: 0 / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1271, allocations: 3.938 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1271, allocations: 3.984 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.1275, allocations: 219.4 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1276, allocations: 85.06 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1276, allocations: 7.922 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1277, allocations: 11.98 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.1277, allocations: 8 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1277, allocations: 0 / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.1278, allocations: 99.2 kB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1278, allocations: 0 / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.128, allocations: 11.94 kB / 432.3 MB, free: 15.02 MB / 366.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.0007436/0.1288, allocations: 0.7554 MB / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.1291, allocations: 87.89 kB / 433.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1291, allocations: 0 / 433.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1293, allocations: 51.91 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1296, allocations: 14.73 kB / 433.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1302, allocations: 183.6 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1305, allocations: 0.6885 MB / 434.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.1305, allocations: 8 kB / 434.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.1306, allocations: 23.42 kB / 434.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1306, allocations: 0 / 434.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1558, allocations: 2.04 MB / 436.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.476, allocations: 0 / 436.1 MB, free: 11.18 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.08349030604586]