Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.001419/0.001419, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.00143/0.00143, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.422/1.422, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.92 MB / 357.7 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 75.89 kB / 0.4917 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 66.05 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00415/0.1251, allocations: 2.126 MB / 0.5582 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1273, allocations: 1.383 MB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1274, allocations: 4 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1275, allocations: 27.66 kB / 0.5596 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1277, allocations: 39.59 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1282, allocations: 199.3 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1285, allocations: 176.1 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1287, allocations: 87.31 kB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1289, allocations: 87.64 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.129, allocations: 87.55 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1291, allocations: 16 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.1293, allocations: 155.9 kB / 0.5604 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.1294, allocations: 43.84 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.1295, allocations: 95.45 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.1299, allocations: 322.5 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1299, allocations: 4 kB / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1299, allocations: 0 / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1299, allocations: 0 / 0.5609 GB, free: 0.6172 MB / 414.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.0006516/0.1306, allocations: 0.522 MB / 0.5614 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1306, allocations: 12.02 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.956e-05/0.1307, allocations: 24.78 kB / 0.5614 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1308, allocations: 99.61 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.1317, allocations: 88.62 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.132, allocations: 224 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.132, allocations: 25.38 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.1321, allocations: 52.25 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1326, allocations: 274.5 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1326, allocations: 7.953 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.1326, allocations: 19.94 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1326, allocations: 11.98 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.133, allocations: 195.9 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1341, allocations: 0.7201 MB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.1348, allocations: 333.4 kB / 0.5634 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.135, allocations: 142.6 kB / 0.5635 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1351, allocations: 8.438 kB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1351, allocations: 42.94 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.734e-06/0.1351, allocations: 0 / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.00174/0.1368, allocations: 0.7384 MB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1369, allocations: 55.97 kB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.137, allocations: 105.8 kB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.137, allocations: 37.7 kB / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.1371, allocations: 141.6 kB / 0.5646 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.1373, allocations: 234 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1375, allocations: 86.25 kB / 0.5649 GB, free: 12.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1376, allocations: 334.8 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1378, allocations: 105.1 kB / 0.5654 GB, free: 11.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.1381, allocations: 143.8 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.1386, allocations: 286.3 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1386, allocations: 0 / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005945/0.1392, allocations: 362.5 kB / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1392, allocations: 7.984 kB / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1392, allocations: 0 / 0.5661 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1392, allocations: 7.938 kB / 0.5661 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.1398, allocations: 187.8 kB / 0.5663 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1398, allocations: 8 kB / 0.5663 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.1399, allocations: 16 kB / 0.5663 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.14, allocations: 15.98 kB / 0.5663 GB, free: 10.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (67): * Single equations (assignments): 67 * 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.0001436/0.1401, allocations: 141.8 kB / 0.5665 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.1402, allocations: 27.8 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.1403, allocations: 50.23 kB / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1403, allocations: 8 kB / 0.5666 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1403, allocations: 0 / 0.5666 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1403, allocations: 7.984 kB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.142, allocations: 0.9533 MB / 0.5675 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.142, allocations: 7.922 kB / 0.5675 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.1426, allocations: 172 kB / 0.5677 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.1426, allocations: 4 kB / 0.5677 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1426, allocations: 12 kB / 0.5677 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1426, allocations: 4 kB / 0.5677 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1426, allocations: 0 / 0.5677 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.1432, allocations: 487.7 kB / 0.5682 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1433, allocations: 96.97 kB / 0.5682 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1433, allocations: 8 kB / 0.5683 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1435, allocations: 20 kB / 0.5683 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.1435, allocations: 36.5 kB / 0.5683 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1436, allocations: 16 kB / 0.5683 GB, free: 8.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.1436, allocations: 79.28 kB / 0.5684 GB, free: 8.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1436, allocations: 4 kB / 0.5684 GB, free: 8.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1439, allocations: 72 kB / 0.5685 GB, free: 8.48 MB / 430.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 (67): * Single equations (assignments): 67 * 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.001231/0.1452, allocations: 1.173 MB / 0.5696 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005468/0.1457, allocations: 304.4 kB / 0.5699 GB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1457, allocations: 4 kB / 0.5699 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.146, allocations: 167.1 kB / 0.5701 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1462, allocations: 28 kB / 0.5701 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.1496, allocations: 2.703 MB / 0.5727 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.1501, allocations: 0.7771 MB / 0.5735 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1502, allocations: 44.25 kB / 0.5735 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1504, allocations: 95.41 kB / 0.5736 GB, free: 3.066 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1504, allocations: 4 kB / 0.5736 GB, free: 3.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1716, allocations: 4.898 MB / 0.5784 GB, free: 14.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.476, allocations: 18.66 kB / 0.5784 GB, free: 14.22 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.47433761699358]