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.001396/0.001396, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001394/0.001394, allocations: 180.4 kB / 23.72 MB, free: 4.699 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.467/1.467, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.00158/0.00158, allocations: 47.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3215, allocations: 52.18 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003052/0.3245, allocations: 1.526 MB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3256, allocations: 0.5101 MB / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.3256, allocations: 0 / 424.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3257, allocations: 27.84 kB / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.3258, allocations: 7.938 kB / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.326, allocations: 35.84 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3261, allocations: 55.91 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3262, allocations: 19.92 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3264, allocations: 35.86 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.3264, allocations: 27.91 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3265, allocations: 4 kB / 424.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.3265, allocations: 16 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.3265, allocations: 19.92 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.3266, allocations: 27.84 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3268, allocations: 72.08 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3268, allocations: 0 / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3268, allocations: 0 / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3268, allocations: 0 / 425 MB, free: 12.24 MB / 334.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.0007401/0.3275, allocations: 310.1 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3276, allocations: 12.03 kB / 425.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3276, allocations: 34.75 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3276, allocations: 8.891 kB / 425.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3278, allocations: 110.5 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3278, allocations: 4.359 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3278, allocations: 8.375 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.3281, allocations: 93.7 kB / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3281, allocations: 0 / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3281, allocations: 0 / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3281, allocations: 4 kB / 425.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.3284, allocations: 75.92 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3289, allocations: 283.7 kB / 425.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3291, allocations: 74.47 kB / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3293, allocations: 40.94 kB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3293, allocations: 3.938 kB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3293, allocations: 42.56 kB / 426.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 3.096e-06/0.3293, allocations: 3.984 kB / 426.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005487/0.3299, allocations: 145.6 kB / 426.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3299, allocations: 55.41 kB / 426.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.33, allocations: 113.8 kB / 426.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.33, allocations: 29.7 kB / 426.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.3301, allocations: 88.14 kB / 426.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.3301, allocations: 19.84 kB / 426.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3302, allocations: 17.72 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3303, allocations: 318.8 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3305, allocations: 39.97 kB / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3306, allocations: 35.95 kB / 426.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.3309, allocations: 85.11 kB / 427 MB, free: 10.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3309, allocations: 0 / 427 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003378/0.3313, allocations: 117.6 kB / 427.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.3313, allocations: 4 kB / 427.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3313, allocations: 0 / 427.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3313, allocations: 4 kB / 427.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3314, allocations: 15.98 kB / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3315, allocations: 0 / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.3315, allocations: 19.91 kB / 427.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3315, allocations: 7.938 kB / 427.2 MB, free: 9.867 MB / 334.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.0001064/0.3316, allocations: 113.8 kB / 427.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3317, allocations: 3.953 kB / 427.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.3321, allocations: 137.6 kB / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3321, allocations: 0 / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3321, allocations: 8 kB / 427.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3321, allocations: 0 / 427.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3323, allocations: 152.7 kB / 427.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3323, allocations: 384 / 427.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3324, allocations: 23.97 kB / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3324, allocations: 0 / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3325, allocations: 8 kB / 427.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3325, allocations: 3.938 kB / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3325, allocations: 3.938 kB / 427.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3329, allocations: 227.3 kB / 427.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.3329, allocations: 11.95 kB / 427.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3329, allocations: 0 / 427.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.333, allocations: 15.98 kB / 427.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3331, allocations: 3.984 kB / 427.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3331, allocations: 8 kB / 427.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.3331, allocations: 95.2 kB / 428 MB, free: 8.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3331, allocations: 0 / 428 MB, free: 8.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.3334, allocations: 12 kB / 428 MB, free: 8.977 MB / 334.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.0007866/0.3342, allocations: 0.7515 MB / 428.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3345, allocations: 87.91 kB / 428.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3345, allocations: 4 kB / 428.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.3347, allocations: 51.89 kB / 428.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.335, allocations: 14.45 kB / 428.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.3355, allocations: 192.2 kB / 429.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3359, allocations: 0.6883 MB / 429.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.532e-05/0.3359, allocations: 11.98 kB / 429.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.336, allocations: 19.44 kB / 429.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.336, allocations: 0 / 429.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.3672, allocations: 2.142 MB / 431.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.48, allocations: 11.33 kB / 431.9 MB, free: 5.062 MB / 334.1 MB " [Timeout remaining time 648] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.897511153947562]