Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001392/0.001392, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.001536/0.001536, allocations: 200.6 kB / 20.79 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.36/0.36, allocations: 44.22 MB / 327.3 MB, free: 6.73 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 64.47 kB / 462.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2922, allocations: 61 MB / 0.5116 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00306/0.2952, allocations: 2.108 MB / 0.5137 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.297, allocations: 1.321 MB / 0.515 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.2971, allocations: 4.125 kB / 0.515 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.2972, allocations: 23.67 kB / 0.515 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2973, allocations: 35.78 kB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.2977, allocations: 192 kB / 0.5152 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.2979, allocations: 174.3 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.2981, allocations: 87.91 kB / 0.5155 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.2983, allocations: 77.3 kB / 0.5156 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.2984, allocations: 90.92 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.2984, allocations: 15.75 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.2986, allocations: 148.4 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.2987, allocations: 48.02 kB / 0.5159 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.2988, allocations: 88.3 kB / 0.5159 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.2992, allocations: 313.8 kB / 0.5162 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2992, allocations: 2.125 kB / 0.5162 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2992, allocations: 0 / 0.5162 GB, free: 9.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2992, allocations: 0 / 0.5162 GB, free: 9.719 MB / 382.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.0005256/0.2997, allocations: 0.5218 MB / 0.5167 GB, free: 9.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2997, allocations: 13.36 kB / 0.5168 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.488e-05/0.2998, allocations: 36.86 kB / 0.5168 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.957e-05/0.2999, allocations: 102.6 kB / 0.5169 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/0.3007, allocations: 78.08 kB / 0.517 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.3008, allocations: 190.9 kB / 0.5172 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.3008, allocations: 28.5 kB / 0.5172 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.3009, allocations: 41.08 kB / 0.5172 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.3013, allocations: 277.8 kB / 0.5175 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.3013, allocations: 6.688 kB / 0.5175 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.3014, allocations: 14.75 kB / 0.5175 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3014, allocations: 9.625 kB / 0.5175 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.3017, allocations: 199.2 kB / 0.5177 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008744/0.3026, allocations: 0.719 MB / 0.5184 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.3032, allocations: 333.4 kB / 0.5187 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3033, allocations: 146.4 kB / 0.5189 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3034, allocations: 12.44 kB / 0.5189 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.3034, allocations: 35 kB / 0.5189 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.3034, allocations: 0 / 0.5189 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.001463/0.3048, allocations: 0.7575 MB / 0.5196 GB, free: 6.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.3049, allocations: 59.97 kB / 0.5197 GB, free: 6.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.3049, allocations: 105.8 kB / 0.5198 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3049, allocations: 33.7 kB / 0.5198 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.305, allocations: 133.7 kB / 0.52 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.3051, allocations: 242 kB / 0.5202 GB, free: 6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.3052, allocations: 82.25 kB / 0.5203 GB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.3052, allocations: 334.8 kB / 0.5206 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3054, allocations: 101.1 kB / 0.5207 GB, free: 5.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.3056, allocations: 151.8 kB / 0.5208 GB, free: 5.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.3059, allocations: 283.9 kB / 0.5211 GB, free: 5.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3059, allocations: 0 / 0.5211 GB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004543/0.3064, allocations: 369.2 kB / 0.5215 GB, free: 4.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3064, allocations: 4 kB / 0.5215 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3064, allocations: 4 kB / 0.5215 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3064, allocations: 3.938 kB / 0.5215 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.307, allocations: 191.8 kB / 0.5217 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3071, allocations: 8 kB / 0.5217 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.3072, allocations: 12 kB / 0.5217 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.3072, allocations: 16 kB / 0.5217 GB, free: 4.449 MB / 382.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.0001008/0.3073, allocations: 145.7 kB / 0.5218 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3073, allocations: 23.86 kB / 0.5218 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3074, allocations: 49.88 kB / 0.5219 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3074, allocations: 4 kB / 0.5219 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3074, allocations: 256 / 0.5219 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3074, allocations: 7.984 kB / 0.5219 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3087, allocations: 0.9611 MB / 0.5228 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3087, allocations: 0 / 0.5228 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.3092, allocations: 167.9 kB / 0.523 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3092, allocations: 4 kB / 0.523 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3092, allocations: 15.98 kB / 0.523 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3092, allocations: 0 / 0.523 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3092, allocations: 7.875 kB / 0.523 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.3097, allocations: 487.7 kB / 0.5235 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.3097, allocations: 100.9 kB / 0.5236 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3098, allocations: 15.98 kB / 0.5236 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3099, allocations: 12 kB / 0.5236 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.31, allocations: 32.52 kB / 0.5237 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.31, allocations: 19.98 kB / 0.5237 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.31, allocations: 83.28 kB / 0.5237 GB, free: 2.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.31, allocations: 4 kB / 0.5238 GB, free: 2.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.3103, allocations: 68 kB / 0.5238 GB, free: 2.164 MB / 382.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.0008472/0.3111, allocations: 1.169 MB / 0.525 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.3116, allocations: 308.4 kB / 0.5253 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3116, allocations: 0 / 0.5253 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3118, allocations: 167.1 kB / 0.5254 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3121, allocations: 31.98 kB / 0.5254 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3154, allocations: 2.684 MB / 0.5281 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.3158, allocations: 0.7771 MB / 0.5288 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.316, allocations: 44.25 kB / 0.5289 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3161, allocations: 95.41 kB / 0.529 GB, free: 12.76 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3161, allocations: 0 / 0.529 GB, free: 12.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.3497, allocations: 4.87 MB / 0.5337 GB, free: 7.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.158/9.507, allocations: 10.44 kB / 0.5337 GB, free: 7.875 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.612974076997489]