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.001282/0.001282, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001402/0.001402, allocations: 211 kB / 24.53 MB, free: 4.07 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.378/1.378, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2187/0.2187, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.002126/0.002126, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3027, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003299/0.306, allocations: 2.148 MB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3081, allocations: 1.402 MB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.3082, allocations: 4 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.122e-05/0.3083, allocations: 19.73 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3084, allocations: 35.66 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3089, allocations: 207.2 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3091, allocations: 180.1 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.3093, allocations: 91.16 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3095, allocations: 87.64 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3096, allocations: 87.55 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3096, allocations: 16 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.3099, allocations: 151.9 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.3099, allocations: 43.83 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.31, allocations: 103.4 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.3104, allocations: 314.6 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3104, allocations: 3.938 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3104, allocations: 3.938 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3104, allocations: 0 / 0.5663 GB, free: 15.39 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.0006009/0.311, allocations: 461.6 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3111, allocations: 12.03 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.525e-05/0.3111, allocations: 20.78 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.3112, allocations: 103.5 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008824/0.3121, allocations: 80.69 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3124, allocations: 170.1 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.3124, allocations: 29.38 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.3124, allocations: 40.31 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.3129, allocations: 274.5 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3129, allocations: 3.953 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.3129, allocations: 16 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3129, allocations: 8 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.3133, allocations: 207.8 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3144, allocations: 0.6776 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.3151, allocations: 337.2 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.3154, allocations: 146.6 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3154, allocations: 4.438 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3154, allocations: 39 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.3154, allocations: 0 / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.001615/0.317, allocations: 0.7437 MB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3171, allocations: 60.06 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.3172, allocations: 105.8 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3172, allocations: 37.7 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.3173, allocations: 133.7 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.3174, allocations: 234 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3176, allocations: 90.34 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3177, allocations: 330.8 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3179, allocations: 105.2 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3181, allocations: 144.8 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.3186, allocations: 286.3 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3186, allocations: 4 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005672/0.3191, allocations: 366.4 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3192, allocations: 4 kB / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3192, allocations: 3.984 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3192, allocations: 7.938 kB / 0.5713 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.3198, allocations: 187.8 kB / 0.5715 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3198, allocations: 4 kB / 0.5715 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.3199, allocations: 12 kB / 0.5715 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.3199, allocations: 19.94 kB / 0.5716 GB, free: 9.758 MB / 414.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.000137/0.32, allocations: 157.6 kB / 0.5717 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.3201, allocations: 23.86 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.3202, allocations: 42.3 kB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3202, allocations: 8 kB / 0.5718 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3202, allocations: 4 kB / 0.5718 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3202, allocations: 3.984 kB / 0.5718 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3217, allocations: 0.9234 MB / 0.5727 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3217, allocations: 4 kB / 0.5727 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.3222, allocations: 163.9 kB / 0.5729 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3222, allocations: 7.984 kB / 0.5729 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3223, allocations: 15.94 kB / 0.5729 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.3223, allocations: 0 / 0.5729 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3223, allocations: 0 / 0.5729 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.3229, allocations: 486.3 kB / 0.5733 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.3229, allocations: 19.86 kB / 0.5734 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3229, allocations: 16.23 kB / 0.5734 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.323, allocations: 16 kB / 0.5734 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.3231, allocations: 36.58 kB / 0.5734 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3231, allocations: 16 kB / 0.5734 GB, free: 7.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.3232, allocations: 91.27 kB / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3232, allocations: 0 / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3235, allocations: 72 kB / 0.5736 GB, free: 7.598 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 (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.00117/0.3246, allocations: 1.18 MB / 0.5747 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.3251, allocations: 301.6 kB / 0.575 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3251, allocations: 0 / 0.575 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.3254, allocations: 175.6 kB / 0.5752 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.3256, allocations: 24 kB / 0.5752 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.3289, allocations: 2.702 MB / 0.5779 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.3293, allocations: 0.7771 MB / 0.5786 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.3294, allocations: 44.25 kB / 0.5787 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3296, allocations: 99.41 kB / 0.5788 GB, free: 2.176 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3296, allocations: 0 / 0.5788 GB, free: 2.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.3535, allocations: 5.293 MB / 0.5839 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.99, allocations: 11.5 kB / 0.5839 GB, free: 12.98 MB / 430.1 MB " [Timeout remaining time 649] (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: 13.925386616960168]