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.001838/0.001838, allocations: 113.7 kB / 17.13 MB, free: 5.918 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.002407/0.002407, allocations: 211.2 kB / 20.1 MB, free: 2.961 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.567/1.567, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.3385/0.3385, allocations: 44.22 MB / 326.6 MB, free: 6.801 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",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.002135/0.002135, allocations: 71.89 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2444, allocations: 60.99 MB / 0.511 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002652/0.2471, allocations: 2.118 MB / 0.513 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2487, allocations: 1.32 MB / 0.5143 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.2488, allocations: 4.031 kB / 0.5143 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.5e-05/0.2488, allocations: 23.67 kB / 0.5143 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2489, allocations: 39.69 kB / 0.5144 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.2493, allocations: 179.7 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.2495, allocations: 183.5 kB / 0.5147 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.2497, allocations: 83.08 kB / 0.5148 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2498, allocations: 77.23 kB / 0.5149 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.2499, allocations: 95.55 kB / 0.515 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.2499, allocations: 15.91 kB / 0.515 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.2502, allocations: 149 kB / 0.5151 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.2502, allocations: 39.41 kB / 0.5152 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.2503, allocations: 95.08 kB / 0.5153 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2506, allocations: 314.9 kB / 0.5156 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2506, allocations: 1.656 kB / 0.5156 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2506, allocations: 0 / 0.5156 GB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2507, allocations: 4 kB / 0.5156 GB, free: 9.867 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.0005147/0.2512, allocations: 0.5215 MB / 0.5161 GB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2512, allocations: 13.48 kB / 0.5161 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.007e-05/0.2513, allocations: 87.55 kB / 0.5162 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.2521, allocations: 71.33 kB / 0.5162 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2523, allocations: 190.9 kB / 0.5164 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.2523, allocations: 29.41 kB / 0.5164 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.2523, allocations: 29 kB / 0.5165 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.2527, allocations: 238.5 kB / 0.5167 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2527, allocations: 0 / 0.5167 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2527, allocations: 10.75 kB / 0.5167 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2527, allocations: 12.19 kB / 0.5167 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.253, allocations: 169.2 kB / 0.5169 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.2537, allocations: 0.6375 MB / 0.5175 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.2542, allocations: 223.3 kB / 0.5177 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2543, allocations: 65.3 kB / 0.5178 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2543, allocations: 240 / 0.5178 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.2543, allocations: 34.8 kB / 0.5178 GB, free: 7.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.072e-06/0.2543, allocations: 0 / 0.5178 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0003986/0.2547, allocations: 228.2 kB / 0.518 GB, free: 7.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.2548, allocations: 59.34 kB / 0.5181 GB, free: 7.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.954e-05/0.2548, allocations: 109.8 kB / 0.5182 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.2548, allocations: 29.7 kB / 0.5182 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.2549, allocations: 148.6 kB / 0.5184 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.2549, allocations: 99.16 kB / 0.5185 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.255, allocations: 37.7 kB / 0.5185 GB, free: 7.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.255, allocations: 322.8 kB / 0.5188 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.2551, allocations: 39.98 kB / 0.5188 GB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.2552, allocations: 47.97 kB / 0.5189 GB, free: 6.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2553, allocations: 122.2 kB / 0.519 GB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2553, allocations: 0 / 0.519 GB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002238/0.2556, allocations: 169.5 kB / 0.5192 GB, free: 6.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2556, allocations: 8 kB / 0.5192 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2556, allocations: 256 / 0.5192 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2556, allocations: 0 / 0.5192 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.256, allocations: 111.9 kB / 0.5193 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.256, allocations: 0 / 0.5193 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.2561, allocations: 19.83 kB / 0.5193 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2561, allocations: 8 kB / 0.5193 GB, free: 6.297 MB / 382.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 7.727e-05/0.2561, allocations: 122.5 kB / 0.5194 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2562, allocations: 11.95 kB / 0.5194 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.2562, allocations: 21.12 kB / 0.5195 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2562, allocations: 11.94 kB / 0.5195 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2562, allocations: 0 / 0.5195 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2562, allocations: 3.984 kB / 0.5195 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2565, allocations: 277.5 kB / 0.5197 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2565, allocations: 0 / 0.5197 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.2568, allocations: 103.9 kB / 0.5198 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2568, allocations: 4 kB / 0.5198 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2568, allocations: 8 kB / 0.5198 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2568, allocations: 7.922 kB / 0.5198 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2568, allocations: 0 / 0.5198 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2571, allocations: 275.3 kB / 0.5201 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.2571, allocations: 92.94 kB / 0.5202 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.2571, allocations: 4 kB / 0.5202 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.2572, allocations: 15.92 kB / 0.5202 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2573, allocations: 11.98 kB / 0.5202 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.2573, allocations: 11.94 kB / 0.5202 GB, free: 5.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.2573, allocations: 83.28 kB / 0.5203 GB, free: 5.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2573, allocations: 0 / 0.5203 GB, free: 5.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.2576, allocations: 55.78 kB / 0.5204 GB, free: 5.098 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 (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.0005357/0.2581, allocations: 0.8846 MB / 0.5212 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.2584, allocations: 127.9 kB / 0.5214 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2584, allocations: 0 / 0.5214 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.2585, allocations: 75.89 kB / 0.5214 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2587, allocations: 11.94 kB / 0.5214 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2604, allocations: 1.971 MB / 0.5234 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2605, allocations: 0.7436 MB / 0.5241 GB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.2606, allocations: 17.41 kB / 0.5241 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.2607, allocations: 67.42 kB / 0.5242 GB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2607, allocations: 0 / 0.5242 GB, free: 1.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.2847, allocations: 2.757 MB / 0.5269 GB, free: 14.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.414, allocations: 17.67 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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: 11.618217479990562]