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.001713/0.001713, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002037/0.002037, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.69/1.69, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2456/0.2456, allocations: 46.97 MB / 361.7 MB, free: 4.062 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3813, allocations: 66.03 MB / 0.5614 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004023/0.3853, allocations: 2.036 MB / 0.5634 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.3878, allocations: 1.278 MB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.3879, allocations: 4 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.388, allocations: 23.67 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.3882, allocations: 39.72 kB / 0.5647 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000718/0.3889, allocations: 199.2 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.3892, allocations: 180.1 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.3894, allocations: 85.72 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.3896, allocations: 91.64 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3897, allocations: 87.55 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.3898, allocations: 16 kB / 0.5653 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.3901, allocations: 151.9 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.3902, allocations: 47.78 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3903, allocations: 79.58 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.3908, allocations: 322.5 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3908, allocations: 0 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3908, allocations: 0 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3908, allocations: 0 / 0.5659 GB, free: 15.65 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.0007381/0.3915, allocations: 457.6 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3916, allocations: 12.02 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.44e-05/0.3916, allocations: 32.72 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.3918, allocations: 87.55 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.3928, allocations: 88.69 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.3932, allocations: 170.1 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.3932, allocations: 25.38 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.3933, allocations: 40.38 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.3938, allocations: 270.5 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3938, allocations: 15.92 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.3938, allocations: 16 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3939, allocations: 15.88 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.3942, allocations: 199.9 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3953, allocations: 0.6347 MB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.396, allocations: 334.3 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.3962, allocations: 138.6 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3963, allocations: 4.438 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3963, allocations: 39 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.3963, allocations: 4 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.001826/0.3981, allocations: 0.7476 MB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3982, allocations: 60.06 kB / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.3983, allocations: 101.9 kB / 0.5692 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3983, allocations: 37.7 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.3984, allocations: 137.7 kB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.3986, allocations: 234 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3987, allocations: 86.34 kB / 0.5697 GB, free: 11.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3988, allocations: 330.8 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.399, allocations: 105.2 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.3993, allocations: 144.8 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.3998, allocations: 287.2 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3998, allocations: 256 / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005851/0.4003, allocations: 374.4 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.4004, allocations: 8 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4004, allocations: 4 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.4004, allocations: 7.938 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.401, allocations: 183.8 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.401, allocations: 7.938 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.4011, allocations: 12 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.4012, allocations: 19.98 kB / 0.5711 GB, free: 10.05 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.0001649/0.4013, allocations: 153.7 kB / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.4014, allocations: 23.86 kB / 0.5713 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.515e-05/0.4015, allocations: 46.3 kB / 0.5713 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4015, allocations: 8 kB / 0.5713 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4015, allocations: 4 kB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4015, allocations: 3.984 kB / 0.5714 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4031, allocations: 0.8961 MB / 0.5722 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4031, allocations: 0 / 0.5722 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.4037, allocations: 171.8 kB / 0.5724 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.4037, allocations: 4 kB / 0.5724 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4037, allocations: 11.98 kB / 0.5724 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4037, allocations: 4 kB / 0.5724 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4037, allocations: 0 / 0.5724 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.4044, allocations: 486.3 kB / 0.5729 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.4044, allocations: 23.8 kB / 0.5729 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.4044, allocations: 15.98 kB / 0.5729 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4046, allocations: 12 kB / 0.5729 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.4046, allocations: 36.58 kB / 0.573 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4047, allocations: 16 kB / 0.573 GB, free: 8.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.367e-05/0.4047, allocations: 87.27 kB / 0.5731 GB, free: 7.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4047, allocations: 4 kB / 0.5731 GB, free: 7.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.405, allocations: 71.94 kB / 0.5731 GB, free: 7.922 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.001197/0.4062, allocations: 1.176 MB / 0.5743 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.4068, allocations: 301.7 kB / 0.5746 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4068, allocations: 0 / 0.5746 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.4071, allocations: 175.7 kB / 0.5747 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4073, allocations: 20 kB / 0.5748 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.4108, allocations: 2.71 MB / 0.5774 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.4109, allocations: 169.3 kB / 0.5776 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.411, allocations: 48.25 kB / 0.5776 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4112, allocations: 95.41 kB / 0.5777 GB, free: 3.109 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4112, allocations: 0 / 0.5777 GB, free: 3.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.4383, allocations: 5.164 MB / 0.5827 GB, free: 14.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.01, allocations: 14.17 kB / 0.5828 GB, free: 14.08 MB / 430.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: 15.523003290989436]