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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.125, allocations: 52.14 MB / 417.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00301/0.128, allocations: 1.526 MB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.1289, allocations: 498.6 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.1289, allocations: 0 / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1291, allocations: 23.81 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.1292, allocations: 11.86 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.1293, allocations: 43.91 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.1294, allocations: 55.91 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.1295, allocations: 11.98 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1296, allocations: 31.84 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1297, allocations: 31.84 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.1297, allocations: 8 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.1298, allocations: 12 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.1298, allocations: 15.92 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.1299, allocations: 23.88 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.13, allocations: 71.66 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.13, allocations: 4 kB / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1301, allocations: 0 / 420.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1301, allocations: 0 / 420.1 MB, free: 10.26 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.0006536/0.1307, allocations: 391.2 kB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1307, allocations: 11.97 kB / 420.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.1308, allocations: 38.75 kB / 420.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1309, allocations: 4.891 kB / 420.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.131, allocations: 176.3 kB / 420.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.131, allocations: 12.31 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.131, allocations: 384 / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1313, allocations: 89.77 kB / 420.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1313, allocations: 0 / 420.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1313, allocations: 3.984 kB / 420.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1313, allocations: 0 / 420.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.1317, allocations: 79.92 kB / 420.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1321, allocations: 312.6 kB / 421.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.1324, allocations: 66.53 kB / 421.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1325, allocations: 52.94 kB / 421.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1326, allocations: 0 / 421.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1326, allocations: 34.59 kB / 421.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.1326, allocations: 3.984 kB / 421.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005525/0.1331, allocations: 149.6 kB / 421.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1332, allocations: 51.41 kB / 421.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.1333, allocations: 117.8 kB / 421.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1333, allocations: 25.7 kB / 421.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.1334, allocations: 92.12 kB / 421.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1334, allocations: 16.17 kB / 421.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.1335, allocations: 21.72 kB / 421.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1336, allocations: 326.8 kB / 422.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1338, allocations: 31.97 kB / 422.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1339, allocations: 51.77 kB / 422.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1342, allocations: 84.78 kB / 422.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1342, allocations: 0 / 422.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003365/0.1345, allocations: 105.6 kB / 422.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1345, allocations: 8 kB / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1345, allocations: 448 / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1346, allocations: 0 / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1347, allocations: 23.97 kB / 422.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1347, allocations: 0 / 422.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1348, allocations: 15.98 kB / 422.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1348, allocations: 7.875 kB / 422.5 MB, free: 7.672 MB / 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 9.283e-05/0.1349, allocations: 114.5 kB / 422.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1349, allocations: 7.953 kB / 422.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.1354, allocations: 137.5 kB / 422.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1354, allocations: 0 / 422.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1354, allocations: 0 / 422.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1354, allocations: 0 / 422.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.1356, allocations: 185.6 kB / 422.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1356, allocations: 0 / 422.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1357, allocations: 31.91 kB / 422.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1357, allocations: 0 / 422.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1357, allocations: 0 / 422.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1357, allocations: 4 kB / 422.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1357, allocations: 0 / 422.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.1362, allocations: 219.4 kB / 423.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1362, allocations: 81.06 kB / 423.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1362, allocations: 4 kB / 423.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1363, allocations: 15.98 kB / 423.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1364, allocations: 7.984 kB / 423.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1364, allocations: 0 / 423.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.045e-05/0.1364, allocations: 95.2 kB / 423.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1364, allocations: 0 / 423.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1367, allocations: 15.94 kB / 423.4 MB, free: 6.668 MB / 350.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.0007913/0.1375, allocations: 0.7634 MB / 424.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.1378, allocations: 87.86 kB / 424.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1379, allocations: 0 / 424.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.138, allocations: 56.06 kB / 424.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1383, allocations: 6.188 kB / 424.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.1389, allocations: 207.6 kB / 424.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1392, allocations: 0.6883 MB / 425.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.1393, allocations: 3.984 kB / 425.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.1393, allocations: 19.44 kB / 425.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1393, allocations: 0 / 425.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.1662, allocations: 2.026 MB / 427.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.535, allocations: 25.03 kB / 427.2 MB, free: 2.805 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.969099362846464]