Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.006046/0.006046, allocations: 111.6 kB / 21.97 MB, free: 5.242 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.001746/0.001746, allocations: 206.4 kB / 25.27 MB, free: 3.234 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.293/1.293, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001654/0.001654, allocations: 51.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2279, allocations: 49.15 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004359/0.2322, allocations: 4.173 MB / 401.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2347, allocations: 1.695 MB / 403 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.235, allocations: 11.5 kB / 403 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.237, allocations: 1.009 MB / 404 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.2376, allocations: 243.4 kB / 404.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.2388, allocations: 0.7642 MB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.2394, allocations: 0.6248 MB / 405.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.24, allocations: 449.1 kB / 406.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2403, allocations: 271.6 kB / 406.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.2407, allocations: 340.4 kB / 406.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.2407, allocations: 52.59 kB / 406.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.2413, allocations: 263.6 kB / 407 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.2413, allocations: 139.3 kB / 407.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.2416, allocations: 309.2 kB / 407.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.2426, allocations: 0.9127 MB / 408.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2426, allocations: 2.016 kB / 408.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2426, allocations: 0 / 408.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2426, allocations: 0 / 408.4 MB, free: 1.996 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003256/0.2459, allocations: 1.154 MB / 409.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2459, allocations: 13.45 kB / 409.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.53e-05/0.2459, allocations: 19.23 kB / 409.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.626e-05/0.246, allocations: 112.4 kB / 409.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.2471, allocations: 175.5 kB / 409.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2472, allocations: 181.7 kB / 410 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.2473, allocations: 53.88 kB / 410.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.2474, allocations: 63 kB / 410.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2485, allocations: 0.7094 MB / 410.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.2486, allocations: 1.734 kB / 410.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.2486, allocations: 25.09 kB / 410.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2486, allocations: 16.72 kB / 410.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.2498, allocations: 0.6035 MB / 411.5 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.2532, allocations: 2.229 MB / 413.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.2545, allocations: 0.6741 MB / 414.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.2549, allocations: 254.2 kB / 414.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.255, allocations: 16.42 kB / 414.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2551, allocations: 38.34 kB / 414.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.2551, allocations: 5 kB / 414.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.00163/0.2567, allocations: 0.7041 MB / 415.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.2568, allocations: 118 kB / 415.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.2571, allocations: 263.1 kB / 415.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.2571, allocations: 41.14 kB / 415.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.2573, allocations: 270.1 kB / 416.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.2575, allocations: 236.4 kB / 416.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2577, allocations: 117.6 kB / 416.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2579, allocations: 354.4 kB / 416.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.2584, allocations: 210.9 kB / 417 MB, free: 12.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.259, allocations: 302.6 kB / 417.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.26, allocations: 0.5153 MB / 417.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.26, allocations: 1.125 kB / 417.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001279/0.2613, allocations: 0.6237 MB / 418.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2613, allocations: 5.656 kB / 418.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2613, allocations: 1.969 kB / 418.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2613, allocations: 5.312 kB / 418.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.262, allocations: 168.4 kB / 418.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.262, allocations: 8.812 kB / 418.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.2625, allocations: 69.81 kB / 418.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.2626, allocations: 29.45 kB / 418.7 MB, free: 11.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0002597/0.2628, allocations: 187 kB / 418.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/0.2629, allocations: 38.67 kB / 418.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.2642, allocations: 0.6083 MB / 419.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2642, allocations: 6.875 kB / 419.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2642, allocations: 0 / 419.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.2643, allocations: 9.359 kB / 419.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.2665, allocations: 1.256 MB / 420.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2665, allocations: 0 / 420.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.267, allocations: 126.3 kB / 420.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.267, allocations: 10.44 kB / 420.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.267, allocations: 25.14 kB / 420.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2671, allocations: 2.5 kB / 420.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2671, allocations: 0 / 420.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2688, allocations: 0.9711 MB / 421.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.2689, allocations: 48.12 kB / 422 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.269, allocations: 16.19 kB / 422 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.2693, allocations: 28.8 kB / 422 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.2694, allocations: 48.41 kB / 422 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.2695, allocations: 17.12 kB / 422.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.2697, allocations: 191.8 kB / 422.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2697, allocations: 1.156 kB / 422.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005991/0.2703, allocations: 184.2 kB / 422.4 MB, free: 9.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.002151/0.2724, allocations: 1.562 MB / 424 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.2736, allocations: 0.5053 MB / 424.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2736, allocations: 0 / 424.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.2742, allocations: 256 kB / 424.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.2747, allocations: 36.44 kB / 424.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.2818, allocations: 4.233 MB / 429 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.2823, allocations: 0.846 MB / 429.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.2827, allocations: 83.39 kB / 429.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.283, allocations: 183.4 kB / 430.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.283, allocations: 0 / 430.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3184, allocations: 9.892 MB / 440 MB, free: 7.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.79, allocations: 0 / 440 MB, free: 7.758 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.112134307972156]