Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 46.93 MB / 360.9 MB, free: 4.352 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 71.88 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3211, allocations: 66.03 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003496/0.3246, allocations: 2.133 MB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.3268, allocations: 1.41 MB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.3269, allocations: 4 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.074e-05/0.327, allocations: 23.67 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3271, allocations: 35.72 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.3276, allocations: 191.3 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3279, allocations: 192 kB / 0.5646 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3281, allocations: 93.66 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3283, allocations: 87.64 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3284, allocations: 91.55 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3284, allocations: 16 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.3287, allocations: 147.9 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.3288, allocations: 43.8 kB / 0.565 GB, free: 4 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3289, allocations: 95.45 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.3294, allocations: 314.6 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3294, allocations: 8 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3294, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3294, allocations: 0 / 0.5654 GB, free: 15.59 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.0006006/0.33, allocations: 465.5 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.33, allocations: 8.031 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3301, allocations: 91.2 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.331, allocations: 84.64 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3313, allocations: 162.1 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3313, allocations: 29.03 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.3313, allocations: 32.31 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.3317, allocations: 234.2 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3317, allocations: 0 / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3318, allocations: 12 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3318, allocations: 4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.3321, allocations: 170.5 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.333, allocations: 0.6092 MB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.3335, allocations: 211.4 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3336, allocations: 61.3 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3336, allocations: 8.172 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3337, allocations: 38.78 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.3337, allocations: 0 / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004399/0.3341, allocations: 211.9 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3341, allocations: 59.34 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.3342, allocations: 105.8 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3343, allocations: 29.7 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.3344, allocations: 156.5 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.3344, allocations: 91.17 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.3345, allocations: 37.72 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3346, allocations: 330.8 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.3347, allocations: 39.97 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.3348, allocations: 53.77 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.335, allocations: 117.3 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.335, allocations: 0 / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002667/0.3353, allocations: 161.6 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3353, allocations: 8 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3353, allocations: 0 / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3353, allocations: 4 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.3357, allocations: 103.8 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3357, allocations: 0 / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.3358, allocations: 11.95 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3358, allocations: 8 kB / 0.569 GB, free: 11.71 MB / 414.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.0001246/0.3359, allocations: 137.7 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.336, allocations: 15.91 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.336, allocations: 25.62 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.336, allocations: 11.92 kB / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.336, allocations: 0 / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.336, allocations: 0 / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.3363, allocations: 252.8 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3363, allocations: 7.938 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.3367, allocations: 99.89 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3367, allocations: 7.984 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3367, allocations: 7.938 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3367, allocations: 3.938 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3367, allocations: 0 / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.3371, allocations: 275.6 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.3371, allocations: 19.84 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3371, allocations: 4 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.3372, allocations: 11.94 kB / 0.5698 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3372, allocations: 15.97 kB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3372, allocations: 8 kB / 0.5699 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.3373, allocations: 87.27 kB / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3373, allocations: 0 / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3376, allocations: 51.78 kB / 0.57 GB, free: 10.62 MB / 414.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.0007751/0.3383, allocations: 0.8763 MB / 0.5709 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3386, allocations: 123.9 kB / 0.571 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3386, allocations: 3.938 kB / 0.571 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3387, allocations: 68.84 kB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3389, allocations: 22.44 kB / 0.5711 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3412, allocations: 1.968 MB / 0.573 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3416, allocations: 0.7473 MB / 0.5737 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.3417, allocations: 17.41 kB / 0.5737 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3418, allocations: 67.41 kB / 0.5738 GB, free: 6.602 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3418, allocations: 4 kB / 0.5738 GB, free: 6.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.3691, allocations: 2.992 MB / 0.5767 GB, free: 3.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 6.984 kB / 0.5767 GB, free: 3.727 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.347031127894297]